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.

A.2. CLASS TASK 211<br />

Description:<br />

If a basic solution is available and it defines a nonsingular basis, then this function computes the<br />

1-norm estimate of the basis matrix and an 1-norm estimate for the inverse of the basis matrix.<br />

<strong>The</strong> 1-norm estimates are computed using the method outlined in [19].<br />

By defintion the 1-norm condition number of a matrix B is defined as<br />

κ 1 (B) := ‖B‖ 1<br />

∥ ∥ B −1∥ ∥ .<br />

Moreover, the larger the condition number is the harder it is to solve linear equation systems<br />

involving B. Given estimates for ‖B‖ 1 and ∥ ∥ B<br />

−1 ∥ ∥ 1 it is also possible to estimate κ 1 (B).<br />

A.2.13<br />

Task.checkconvexity()<br />

Task.checkconvexity()<br />

Checks if a quadratic optimization problem is convex.<br />

Description:<br />

See also<br />

This function checks if a quadratic optimization problem is convex. <strong>The</strong> amount of checking is<br />

controlled by iparam.check convexity.<br />

<strong>The</strong> function throws an exception if the problem is not convex.<br />

• iparam.check convexity Specify the level of convexity check on quadratic problems<br />

A.2.14<br />

Task.checkmem()<br />

Task.checkmem(<br />

file,<br />

line)<br />

Checks the memory allocated by the task.<br />

Arguments<br />

file : str<br />

File from which the function is called.<br />

line : int<br />

Line in the file from which the function is called.<br />

Description:<br />

Checks the memory allocated by the task.

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

Saved successfully!

Ooh no, something went wrong!