25.11.2015 Views

The MOSEK command line tool Version 7.0 (Revision 141)

The MOSEK command line tool. Version 7.0 ... - Documentation

The MOSEK command line tool. Version 7.0 ... - Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.1. LINEAR OPTIMIZATION 21<br />

be a primal-dual feasible solution, and let<br />

(x c ) ∗ := Ax ∗ .<br />

For a primal-dual feasible solution we define the duality gap as the difference between the primal and<br />

the dual objective value,<br />

=<br />

m−1<br />

∑<br />

i=0<br />

c T x ∗ + c f − ( (l c ) T (s c l ) ∗ − (u c ) T (s c u) ∗ + (l x ) T (s x l ) ∗ − (u x ) T (s x u) ∗ + c f )<br />

n−1<br />

∑<br />

[(s c l ) ∗ i ((x c i) ∗ − li c ) + (s c u) ∗ i (u c i − (x c i) ∗ [<br />

)] + (s<br />

x<br />

l ) ∗ j (x j − lj x ) + (s x u) ∗ j (u x j − x ∗ j ) ]<br />

≥ 0<br />

j=0<br />

(4.3)<br />

where the first relation can be obtained by transposing and multiplying the dual constraints (4.2) by<br />

x ∗ and (x c ) ∗ respectively, and the second relation comes from the fact that each term in each sum<br />

is nonnegative. It follows that the primal objective will always be greater than or equal to the dual<br />

objective.<br />

4.1.1.3 When the objective is to be maximized<br />

When the objective sense of problem (4.1) is maximization, i.e.<br />

maximize<br />

c T x + c f<br />

subject to l c ≤ Ax ≤ u c ,<br />

l x ≤ x ≤ u x ,<br />

the objective sense of the dual problem changes to minimization, and the domain of all dual variables<br />

changes sign in comparison to (4.2). <strong>The</strong> dual problem thus takes the form<br />

minimize (l c ) T s c l − (u c ) T s c u + (l x ) T s x l − (u x ) T s x u + c f<br />

subject to A T y + s x l − s x u = c,<br />

− y + s c l − s c u = 0,<br />

s c l , s c u, s x l , s x u ≤ 0.<br />

This means that the duality gap, defined in (4.3) as the primal minus the dual objective value, becomes<br />

nonpositive. It follows that the dual objective will always be greater than or equal to the primal<br />

objective.<br />

4.1.1.4 An optimal solution<br />

It is well-known that a <strong>line</strong>ar optimization problem has an optimal solution if and only if there exist<br />

feasible primal and dual solutions so that the duality gap is zero, or, equivalently, that the complementarity<br />

conditions

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!