- Written
- Published
- Updated
Parts: 1 · 2
Chapter 4 Convex Optimization Problems
4.1 Optimization problems
4.1.1 Basic terminology
The domain
The of the problem (4.1) is defined as
A point is feasible if it satifies the constraints.
4.1.3 Equivalent problems
See it at page 130.
4.2 Convex optimization
4.2.1 Convex optimization problems in standard form
A convex optimization problem is one of the form
where are convex functions.
The convex problem has three additional requirements:
the objective function must be convex,
the inequality constraint functions must be convex,
the equality constraint functions must be affine.
The feasible set of a convex optimization problem is convex.
4.2.2 Local and global optima
A fundamental property of convex optimization problems is that any locally optimal point is also (globally) optimal.
It is not true that locally optimal points of quasiconvex optimization problems are globally optimal;
4.2.3 An optimality criterion for differentiable
Suppose that the objective in a convex optimization problem is differentiable. Let denote the feasible set. Then is optimal if and only if and
Unconstrained problems
For an unconstrained problem, the condition (4.21) reduces to the well known necessary and sufficient condition
for to be optimal.
Problems with equality constraints only
Here the feasible set is an affine set.
See page 141
Minimization over the nonnegative orthant
See page 142
4.2.4 Equivalent convex problems
See page 142
Eliminating equality constraints
Introducing equality constraints
Slack variables
4.2.5 Quasiconvex optimization
4.3 Linear optimization problems
When the objective and constraint functions are all affine, the problem is called a linear program (LP). A general linear program has the form
where and . Linear programs are, of course, convex optimization problems.
4.3.2 Linear-fractional programming
The problem of minimizing a ratio of affine functions over a polyhedron is called a linear-fractional program:
where the objective function is given by
The objective function is quasiconvex (in fact, quasilinear) so linear-fractional programs are quasiconvex optimization problems.
Luckily, it can be transformed to a linear program.
See page 151.
4.4 Quadratic optimization problems
The convex optimization problem is called a quadratic program (QP) if the objective function is (convex) quadratic, and the constraint functions are affine. A quadratic program can be expressed in the form
where , and .
Least-squares and regression
The problem of minimizing the convex quadratic function
is an (unconstrained) QP.
See page 153
Chapter 5 Duality
5.1 The Lagrange dual function
5.1.1 The Lagrangian
We do not assume the problem is convex.
We define the Lagrangian
with in which is defined in Chapter 4.1.1.
5.1.2 The Lagrange dual function
We define the Lagrange dual function (or just dual function) as the minimum value of the Lagrangian over : for ,
Since the dual function is the pointwise infifimum of a family of affine functions of , it is concave, even when the problem is not convex. (See 3.2.3)
5.1.3 Lower bounds on optimal value (Important!)
For any and any we have
The dual function yields lower bounds on the optimal value of the problem.
It's important, but easy to be proved:
Since , for any feasible point ,
so
5.2 The Lagrange dual problem
A natural question is: What is the best lower bound that can be obtained from the Lagrange dual function?
This leads to the optimization problem
This problem is called the Lagrange dual problem associated with the problem.
In this context the original problem is sometimes called the primal problem.
The Lagrange dual problem is a convex optimization problem, since the objective to be maximized is concave and the constraint is convex.
5.2.2 Weak duality
The optimal value (not point) of the Lagrange dual problem, which we denote , is, by definition, the best lower bound on that can be obtained from the Lagrange dual function. In particular, we have the simple but important inequality
which holds even if the original problem is not convex. This property is called weak duality.
5.2.3 Strong duality and Slater’s constraint qualification
If the equality
holds, then we say that strong duality holds.
Strong duality does not, in general, hold. But if the primal problem is convex, we usually (but not always) have strong duality. There are many results that establish conditions on the problem, beyond convexity, under which strong duality holds. These conditions are called constraint qualifications.
Slater’s condition
One simple constraint qualification is Slater’s condition (sufficient but not necessary): There exists an such that
Such a point is sometimes called strictly feasible. Slater’s theorem states that strong duality holds, if Slater’s condition holds (and the problem is convex).
5.4 Saddle-point interpretation (Beautiful)
Max-min inequality
, we have
When equality holds we say that satisfy the strong max-min property or the saddle point property.
5.4.1 Max-min characterization of weak and strong duality (Magic!)
First note that, since , if , we can chose any large , so will be positive infinity. Similarly, must be all zero.
So this means we can express the optimal value of the primal problem as
By the definition of the dual function, we also have
This is very beautiful.
5.5 Optimality conditions
We remind the reader that we do not assume the problem is convex, unless explicitly stated.
5.5.1 Certificate of suboptimality and stopping criteria
Dual feasible points allow us to bound how suboptimal a given feasible point is, without knowing the exact value of . Indeed, if is primal feasible and is dual feasible, then
In particular, this establishes that is -suboptimal, with .
These observations can be used in optimization algorithms to provide non heuristic stopping criteria.
5.5.2 Complementary slackness
Suppose that the primal and dual optimal values are attained and equal (so, inparticular, strong duality holds).
This means:
Then
This condition is known as complementary slackness.
This condition is known as complementary slackness; it holds for any primal optimal and any dual optimal (when strong duality holds).
Roughly speaking, this means the ith optimal Lagrange multiplier is zero unless the ith constraint is active at the optimum.
5.5.3 KKT optimality conditions
We now assume that the functions are differentiable (and therefore have open domains) and the problem is strong duality, but we make no assumptions yet about convexity
KKT conditions for nonconvex problems
Since minimizes over , it follows that its gradient must vanish at , i.e.,
Thus we have
which are called the Karush-Kuhn-Tucker (KKT) conditions.
To summarize, for any optimization problem with differentiable objective and constraint functions for which strong duality obtains, any pair of primal and dual optimal points must satisfy the KKT conditions (necessary but not sufficient for general problem).
KKT conditions for convex problems
When the primal problem is convex, the KKT conditions are also sufficient for the points to be primal and dual optimal (sufficient but not necessary).
In summary, for any convex optimization problem with differentiable objective and constraint functions, any points that satisfy the KKT conditions are primal and dual optimal, and have zero duality gap.
If a convex optimization problem with differentiable objective and constraint functions satisfifies Slater’s condition, then the KKT conditions provide necessary and sufficent conditions for optimality. (sufficient and necessary)
Comments
No approved comments yet.
Your display name and plain-text comment become public only after owner approval. No account or email is required.