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

Create successful ePaper yourself

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

13.2. ANALYZING INFEASIBLE PROBLEMS 167<br />

corresponding constraints have any quadratic terms or the corresponding variables are used in conic<br />

or quadratic constraints; cf. the last two examples of appendix G.<br />

<strong>The</strong> distribution of the absolute values, |A(ij)|, is displayed just as for the objective coefficients<br />

described above.<br />

13.1.4 Constraint and variable bounds<br />

<strong>The</strong> fourth part of the survey displays distributions for the absolute values of the finite lower and upper<br />

bounds for both constraints and variables. <strong>The</strong> number of bounds at 0 is singled out and, otherwise,<br />

displayed by orders of magnitude (with a ratio of 10).<br />

13.1.5 Quadratic constraints<br />

<strong>The</strong> fifth part of the survey displays distributions for the nonzero elements in the gradient of the<br />

quadratic constraints, i.e. the nonzero row counts for the column vectors Qx . <strong>The</strong> table is similar to<br />

the tables for the linear constraints’ nonzero row and column counts described in the survey’s third<br />

part.<br />

Note: Quadratic constraints may also have a linear part, but that will be included in the linear<br />

constraints survey; this means that if a problem has one or more pure quadratic constraints, part three<br />

of the survey will report an equal number of linear constraint rows with 0 (zero) nonzeros, cf. the last<br />

example in appendix G. Likewise, variables that appear in quadratic terms only will be reported as<br />

empty columns (0 nonzeros) in the linear constraint report.<br />

13.1.6 Conic constraints<br />

<strong>The</strong> last part of the survey summarizes the model’s conic constraints. For each of the two types of<br />

cones, quadratic and rotated quadratic, the total number of cones are reported, and the distribution<br />

of the cones’ dimensions are displayed using intervals. Cone dimensions of 2, 3, and 4 are singled out.<br />

13.2 Analyzing infeasible problems<br />

When developing and implementing a new optimization model, the first attempts will often be either<br />

infeasible, due to specification of inconsistent constraints, or unbounded, if important constraints have<br />

been left out.<br />

In this chapter we will<br />

• go over an example demonstrating how to locate infeasible constraints using the <strong>MOSEK</strong> infeasibility<br />

report tool,<br />

• discuss in more general terms which properties that may cause infeasibilities, and<br />

• present the more formal theory of infeasible and unbounded problems.

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

Saved successfully!

Ooh no, something went wrong!