HOME

TheInfoList



OR:

In constrained
optimization Mathematical optimization (alternatively spelled ''optimisation'') or mathematical programming is the selection of a best element, with regard to some criterion, from some set of available alternatives. It is generally divided into two subfi ...
, a field of mathematics, a barrier function is a continuous function whose value on a point increases to infinity as the point approaches the boundary of the
feasible region In mathematical optimization, a feasible region, feasible set, search space, or solution space is the set of all possible points (sets of values of the choice variables) of an optimization problem that satisfy the problem's constraints, potent ...
of an optimization problem. Such functions are used to replace inequality constraints by a penalizing term in the objective function that is easier to handle. The two most common types of barrier functions are
inverse barrier function Inverse or invert may refer to: Science and mathematics * Inverse (logic), a type of conditional sentence which is an immediate inference made from another conditional sentence * Additive inverse (negation), the inverse of a number that, when a ...
s and logarithmic barrier functions. Resumption of interest in logarithmic barrier functions was motivated by their connection with primal-dual
interior point method Interior-point methods (also referred to as barrier methods or IPMs) are a certain class of algorithms that solve linear and nonlinear convex optimization problems. An interior point method was discovered by Soviet mathematician I. I. Dikin in 1 ...
s.


Motivation

Consider the following constrained optimization problem: :minimize :subject to where is some constant. If one wishes to remove the inequality constraint, the problem can be re-formulated as :minimize , :where if , and zero otherwise. This problem is equivalent to the first. It gets rid of the inequality, but introduces the issue that the penalty function , and therefore the objective function , is
discontinuous Continuous functions are of utmost importance in mathematics, functions and applications. However, not all functions are continuous. If a function is not continuous at a point in its domain, one says that it has a discontinuity there. The set of a ...
, preventing the use of
calculus Calculus, originally called infinitesimal calculus or "the calculus of infinitesimals", is the mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithm ...
to solve it. A barrier function, now, is a continuous approximation to that tends to infinity as approaches from above. Using such a function, a new optimization problem is formulated, viz. :minimize where is a free parameter. This problem is not equivalent to the original, but as approaches zero, it becomes an ever-better approximation.


Logarithmic barrier function

For logarithmic barrier functions, g(x,b) is defined as -\log(b-x) when x < b and \infty otherwise (in 1 dimension. See below for a definition in higher dimensions). This essentially relies on the fact that \log(t) tends to negative infinity as t tends to 0. This introduces a gradient to the function being optimized which favors less extreme values of x (in this case values lower than b), while having relatively low impact on the function away from these extremes. Logarithmic barrier functions may be favored over less computationally expensive
inverse barrier functions Inverse or invert may refer to: Science and mathematics * Inverse (logic), a type of conditional sentence which is an immediate inference made from another conditional sentence * Additive inverse (negation), the inverse of a number that, when a ...
depending on the function being optimized.


Higher dimensions

Extending to higher dimensions is simple, provided each dimension is independent. For each variable x_i which should be limited to be strictly lower than b_i, add -\log(b_i-x_i).


Formal definition

Minimize \mathbf c^Tx subject to \mathbf a_i^T x \le b_i, i = 1,\ldots,m Assume strictly feasible: \\ne\emptyset Define logarithmic barrier \Phi(x) = \begin \sum_^m -\log(b_i - a_i^Tx) & \text Ax


See also

*
Penalty method Penalty methods are a certain class of algorithms for solving constrained optimization problems. A penalty method replaces a constrained optimization problem by a series of unconstrained problems whose solutions ideally converge to the solution o ...
*
Augmented Lagrangian method Augmented Lagrangian methods are a certain class of algorithms for solving constrained optimization problems. They have similarities to penalty methods in that they replace a constrained optimization problem by a series of unconstrained problems a ...


References


External links


Lecture 14: Barrier method
from Professor Lieven Vandenberghe of
UCLA The University of California, Los Angeles (UCLA) is a public land-grant research university in Los Angeles, California. UCLA's academic roots were established in 1881 as a teachers college then known as the southern branch of the California ...
Constraint programming Convex optimization Types of functions {{mathapplied-stub