Docsity

Barrier Methods for Constrained Optimization: Solving Unconstrained Problems, Study notes of Systems Engineering

Toggle sidebar
bg1
IOE 519: NLP, Winter 2009 55
8 Barrier Methods for Constrained Optimization
Consider the constrained optimization problem (P):
(P) : minxf(x)
s.t. gi(x)≤0i=1, . . . , m
hi(x)=0 i=1, . . . , l
x∈Rn,
whose feasible region we denote by
S:= {x∈Rn:gi(x)≤0,i=1, . . . , m, hi(x)=0,i =1, . . . , l}.
Barrier methods are designed to solve (P) by instead solving a sequence of specially constructed
unconstrained optimization problems.
In a barrier method, we presume that we are given a point x0that lies in the interior of the feasible
region S, and we impose a very large cost on feasible points that lie ever closer to the boundary of
S, thereby creating a “barrier” to exiting the feasible region.
In this subsection, we will restrict our attention to instances of problem (P) that have inequality
constraints only:
S={x∈Rn:gi(x)≤0,i=1, . . . , n}.
The algorithm we develop can be easily extended to problems that also have linear equality con-
straints, in the spirit of the previous section. Barrier methods can also be applied to problems with
general equality constraints, however, an appropriate problem transformation is required. Different
implementations of barrier methods deal with this issue differently.
Abarrier function for (P) is any continuous function b(x) defined on the the interior of the feasible
set Ssuch that b(x)→+∞as maxi=1,...,m gi(x)→0−. Two common examples of barrier functions
are
b(x)=−
m
!
i=1
ln(−gi(x)) and b(x)=−
m
!
i=1
1
gi(x).
The idea in a barrier method is to dissuade points xfrom ever approaching the boundary of the
feasible region. We consider solving:
B(θ) : minimize f(x)+θb(x)
s.t. g(x)<0
x∈Rn.
for a sequence of θk>0 such that θk→0. Note that the constraints “g(x)<0” are effectively
unimportant in B(θ), as they are never binding in B(θ).
Examples:
b(x)=
m
!
i=1
1
−gi(x)or b(x) = max
i=1,...,m
1
−gi(x)
Let r(θ, x)=f(x)+θb(x). Let the sequence {θk}satisfy θk+1 <θkand θk→0 as k→∞. Let xk
denote the exact solution to B(θk).
Let Nδ(x) denote the ball of radius δcentered at the point x. The next result concerns convergence
of the barrier method.
pf3
pf4

Partial preview of the text

Download Barrier Methods for Constrained Optimization: Solving Unconstrained Problems and more Study notes Systems Engineering in PDF only on Docsity!

8 Barrier Methods for Constrained Optimization

Consider the constrained optimization problem (P):

(P) : minx f (x) s.t. gi (x) ≤ 0 i = 1,... , m h (^) i (x) = 0 i = 1,... , l x ∈ R n^ ,

whose feasible region we denote by

S := {x ∈ R n^ : gi (x) ≤ 0 , i = 1,... , m, hi (x) = 0, i = 1,... , l}.

Barrier methods are designed to solve (P) by instead solving a sequence of specially constructed unconstrained optimization problems.

In a barrier method, we presume that we are given a point x^0 that lies in the interior of the feasible region S, and we impose a very large cost on feasible points that lie ever closer to the boundary of S, thereby creating a “barrier” to exiting the feasible region.

In this subsection, we will restrict our attention to instances of problem (P) that have inequality constraints only: S = {x ∈ R n^ : gi (x) ≤ 0 , i = 1,... , n}.

The algorithm we develop can be easily extended to problems that also have linear equality con- straints, in the spirit of the previous section. Barrier methods can also be applied to problems with general equality constraints, however, an appropriate problem transformation is required. Different implementations of barrier methods deal with this issue differently.

A barrier function for (P) is any continuous function b(x) defined on the the interior of the feasible set S such that b(x) → +∞ as max (^) i=1,...,m gi (x) → 0 −^. Two common examples of barrier functions are

b(x) = −

∑^ m

i=

ln(−gi (x)) and b(x) = −

∑^ m

i=

gi (x)

The idea in a barrier method is to dissuade points x from ever approaching the boundary of the feasible region. We consider solving:

B(θ) : minimize f (x) + θb(x) s.t. g(x) < 0 x ∈ R n^.

for a sequence of θ (^) k > 0 such that θ (^) k → 0. Note that the constraints “g(x) < 0” are effectively unimportant in B(θ), as they are never binding in B(θ).

Examples:

b(x) =

∑^ m

i=

−g (^) i (x)

or b(x) = max i=1,...,m

−gi (x)

Let r(θ, x) = f (x) + θb(x). Let the sequence {θ (^) k } satisfy θ (^) k+1 < θ (^) k and θ (^) k → 0 as k → ∞. Let xk denote the exact solution to B(θ (^) k ).

Let N (^) δ (x) denote the ball of radius δ centered at the point x. The next result concerns convergence of the barrier method.

Theorem 8.1 (Barrier Convergence Theorem). Suppose f (x), g(x), and b(x) are continuous functions, and suppose B(θ) has a solution for any c > 0. Let {xk^ }, k = 1,... , ∞, be a sequence of solutions of B(θ (^) k ). Suppose there exists an optimal solution x"^ of (P) for which N (^) δ (x"^ ) ∩ {x : g(x) < 0 } '= ∅ for every δ > 0. Then any limit point x¯ of {xk^ } solves (P).

Proof: Let ¯x be any limit point of the sequence {xk^ }. Without loss of generality, assume that ¯x is in fact the limit of the sequence. From the continuity of f (x) and g(x), limk→∞ f (xk^ ) = f (¯x) and limk→∞ g(xk^ ) = g(¯x) ≤ 0. Thus ¯x is feasible for (P).

If ¯x is in the interior of S, then limk→∞ θ (^) k b(xk^ ) = 0. If ¯x lies on the boundary of S, then, by our assumption, limk→∞ b(xk^ ) = +∞. In either case,

lim inf k→∞

θ (^) k b(xk^ ) ≥ 0 ,

which implies that

lim inf k→∞

f (xk^ ) + θ (^) k b(xk^ )

= f (¯x) + lim inf k→∞ θ (^) k b(xk^ ) ≥ f (¯x).

If ¯x were not a global minimizer, there would exist a feasible vector x"^ such that f (x"^ ) < f (¯x) that can be approached arbitrarily closely through the interior of the feasible set. That is, there exists a point ˜x in the domain of the barrier function such that f (˜x) < f (¯x). By the definition of xk^ ,

f (xk^ ) + θ (^) k b(xk^ ) ≤ f (˜x) + θ (^) k b(˜x)

for all k, which by taking the limit at k → ∞ implies that f (¯x) ≤ f (˜x). This is a contradiction, therefore proving that ¯x is a global minimizer of (P).

Advantages of the barrier methods:

  • Avoid the combinatorial issues associated with finding the active constraints
  • Converge under mild conditions
  • Provide estimates of multipliers at the optimum (see below)
  • For many barrier functions (including the two examples above) the barrier function is convex if (P) is a convex problem.
  • Barrier problems are typically solved via Newton’s method, which converges rapidly if initial- ized close to the solution (of the barrier problem).

Since for sufficiently small θ the solution of B(θ) is sufficiently close to the optimal solution of (P), one may wonder why you should bother with solving a sequence of barrier problems instead of solving just one, with a low value of θ. However, the Hessian ∇ (^2) xx b(x, θ) of the barrier function tends to become ill-conditioned when θ is very small, making the problem difficult to solve. Solving a sequence of barrier problems provides a remedy: when the solution xk−^1 of the previous barrier problem is used as an initial point for solving the current barrier problem, the problem tends to be easier to solve if θ (^) k is not much smaller than θ (^) k− 1 , since then, under reasonable assumptions, xk−^1 is close to xk^.

Suppose more generally, b(x) = γ(g(x)),

for k large. As k → ∞, we have xk^ → x¯, v k^ → ¯v, and ‖u k^ ‖ → ∞, and so the above becomes

∑

i∈I

¯vi ∇gi (¯x) = 0 ,

and ‖v¯‖ = 1, which violates the linear independence condition. Therefore {u k^ } is a bounded sequence, and so has at least one accumulation point.

Now suppose that {u k^ } has two accumulation points, ˜u and ¯u. Note ¯u (^) i = 0 and ˜u (^) i = 0 for i ∈ N , and so (^) ∑

i∈I

¯u (^) i ∇gi (¯x) = −∇f (¯x) =

i∈I

u ˜ (^) i ∇gi (¯x),

so that (^) ∑

i∈I

(¯u (^) i − ˜u (^) i )∇gi (¯x) = 0.

But by the linear independence condition, ¯u (^) i − u˜ (^) i = 0 for all i ∈ I, and so ¯u (^) i = ˜u (^) i. This then implies that ¯u = ˜u.