16.10.2013 Views

GAMS/PATH User Guide Version 4.3

GAMS/PATH User Guide Version 4.3

GAMS/PATH User Guide Version 4.3

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Furthermore, underlying model convexity is important. For example, if<br />

we have the linear program<br />

minx cT x<br />

subject to Ax = b, x ≥ 0<br />

we can write the first order optimality conditions as either<br />

0 ≤ x ⊥ −A T µ + c<br />

µ free ⊥ Ax − b<br />

or, equivalently,<br />

0 ≤ x ⊥ −AT µ + c<br />

µ free ⊥ b − Ax<br />

because we have an equation. The former is a linear complementarity problem<br />

with a positive semidefinite matrix, while the latter is almost certainly<br />

indefinite. Also, if we need to perturb the problem because of numerical<br />

problems, the former system will become positive definite, while the later<br />

becomes highly nonconvex and unlikely to solve.<br />

Finally, users are strongly encouraged to match equations and free variables<br />

when the matching makes sense for their application. Structure and<br />

convexity can be destroyed if it is left to the solver to perform the matching.<br />

For example, in the above example, we could loose the positive semidefinite<br />

matrix with an arbitrary matching of the free variables.<br />

19

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

Saved successfully!

Ooh no, something went wrong!