25.11.2015 Views

The MOSEK Python optimizer API manual Version 7.0 (Revision 141)

Optimizer API for Python - Documentation - Mosek

Optimizer API for Python - Documentation - Mosek

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.

170 CHAPTER 13. THE ANALYZERS<br />

• Removing suspected constraints from the problem.<br />

Returning to the transportation example, we discover that removing the fifth constraint<br />

makes the problem feasible.<br />

x 12 = 200<br />

13.2.3 Locating the cause of dual infeasibility<br />

A problem may also be dual infeasible. In this case the primal problem is often unbounded, mening<br />

that feasbile solutions exists such that the objective tends towards infinity. An example of a dual<br />

infeasible and primal unbounded problem is:<br />

minimize x 1<br />

subject to x 1 ≤ 5.<br />

To resolve a dual infeasibility the primal problem must be made more restricted by<br />

• Adding upper or lower bounds on variables or constraints.<br />

• Removing variables.<br />

• Changing the objective.<br />

13.2.3.1 A cautious note<br />

<strong>The</strong> problem<br />

minimize 0<br />

subject to 0 ≤ x 1 ,<br />

x j ≤ x j+1 , j = 1, . . . , n − 1,<br />

x n ≤ − 1<br />

is clearly infeasible. Moreover, if any one of the constraints are dropped, then the problem becomes<br />

feasible.<br />

This illustrates the worst case scenario that all, or at least a significant portion, of the constraints are<br />

involved in the infeasibility. Hence, it may not always be easy or possible to pinpoint a few constraints<br />

which are causing the infeasibility.<br />

13.2.4 <strong>The</strong> infeasibility report<br />

<strong>MOSEK</strong> includes functionality for diagnosing the cause of a primal or a dual infeasibility. It can be<br />

turned on by setting the iparam.infeas report auto to onoffkey.on. This causes <strong>MOSEK</strong> to print<br />

a report on variables and constraints involved in the infeasibility.

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

Saved successfully!

Ooh no, something went wrong!