Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Barrier function

From Wikipedia, the free encyclopedia
Continuous function whose value increases to infinity
This article is about the topic in optimization. For the topic in dynamical systems, seeBarrier certificate.
"Barrier method" redirects here. For the method of safer sex, seeBarrier methods.

In constrainedoptimization, a field ofmathematics, abarrier function is acontinuous function whose value increases to infinity as its argument approaches the boundary of thefeasible region of an optimization problem.[1][2] Such functions are used to replace inequalityconstraints by a penalizing term in the objective function that is easier to handle. A barrier function is also called aninterior penalty function, as it is a penalty function that forces the solution to remain within the interior of the feasible region.

The two most common types of barrier functions areinverse barrier functions andlogarithmic barrier functions. Resumption of interest in logarithmic barrier functions was motivated by their connection with primal-dualinterior point methods.

Motivation

[edit]

Consider the following constrained optimization problem:

minimizef(x)
subject toxb

whereb is some constant. If one wishes to remove the inequality constraint, the problem can be reformulated as

minimizef(x) +c(x),
wherec(x) = ∞ ifx >b, and zero otherwise.

This problem is equivalent to the first. It gets rid of the inequality, but introduces the issue that the penalty functionc, and therefore the objective functionf(x) +c(x), isdiscontinuous, preventing the use ofcalculus to solve it.

A barrier function, now, is a continuous approximationg toc that tends to infinity asx approachesb from below. Using such a function, a new optimization problem is formulated, viz.

minimizef(x) +μg(x)

whereμ > 0 is a free parameter. This problem is not equivalent to the original, but asμ approaches zero, it becomes an ever-better approximation.[3]

Logarithmic barrier function

[edit]

For logarithmic barrier functions,g(x,b){\displaystyle g(x,b)} is defined aslog(bx){\displaystyle -\!\log(b-x)} whenx<b{\displaystyle x<b} and{\displaystyle \infty } otherwise (in one dimension; see below for a definition in higher dimensions). This essentially relies on the fact thatlogt{\displaystyle \log t} tends to negative infinity ast{\displaystyle t} tends to 0.

This introduces a gradient to the function being optimized which favors less extreme values ofx{\displaystyle x} (in this case, values lower thanb{\displaystyle b}), while having relatively low impact on the function away from these extremes.

Logarithmic barrier functions may be favored over less computationally expensiveinverse barrier functions depending on the function being optimized.

Higher dimensions

[edit]

Extending to higher dimensions is simple, provided each dimension is independent. For each variablexi{\displaystyle x_{i}} which should be limited to be strictly lower thanbi{\displaystyle b_{i}}, addlog(bixi){\displaystyle -\!\log(b_{i}-x_{i})}.

Formal definition

[edit]

MinimizecTx{\displaystyle \mathbf {c} ^{T}x} subject toaiTxbi,i=1,,m{\displaystyle \mathbf {a} _{i}^{T}x\leq b_{i},i=1,\ldots ,m}

Assume strictly feasible:{xAx<b}{\displaystyle \{\mathbf {x} \mid Ax<b\}\neq \emptyset }

Definelogarithmic barrierg(x)={i=1mlog(biaiTx)for Ax<b+otherwise{\displaystyle g(x)={\begin{cases}\sum _{i=1}^{m}-\!\log(b_{i}-a_{i}^{T}x)&{\text{for }}Ax<b\\+\infty &{\text{otherwise}}\end{cases}}}

See also

[edit]

References

[edit]
  1. ^Nesterov, Yurii (2018).Lectures on Convex Optimization (2 ed.). Cham, Switzerland: Springer. p. 56.ISBN 978-3-319-91577-7.
  2. ^Nocedal, Jorge; Wright, Stephen (2006).Numerical Optimization (2 ed.). New York, NY: Springer. p. 566.ISBN 0-387-30303-0.
  3. ^Vanderbei, Robert J. (2001).Linear Programming: Foundations and Extensions. Kluwer. pp. 277–279.

External links

[edit]
Functions
Gradients
Convergence
Quasi–Newton
Other methods
Hessians
Graph of a strictly concave quadratic function with unique maximum.
Optimization computes maxima and minima.
General
Differentiable
Convex
minimization
Linear and
quadratic
Interior point
Basis-exchange
Paradigms
Graph
algorithms
Minimum
spanning tree
Shortest path
Network flows
Retrieved from "https://en.wikipedia.org/w/index.php?title=Barrier_function&oldid=1338551662"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp