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.

A.2. CLASS TASK 357<br />

isdef : int<br />

Is non-zero if the requested solution is defined.<br />

whichsol : soltype<br />

Selects a solution.<br />

Description:<br />

Checks whether a solution is defined.<br />

A.2.267<br />

Task.solutionsummary()<br />

Task.solutionsummary(whichstream)<br />

Prints a short summary of the current solutions.<br />

Arguments<br />

whichstream : streamtype<br />

Index of the stream.<br />

Description:<br />

Prints a short summary of the current solutions.<br />

A.2.268<br />

Task.solvewithbasis()<br />

numnz = Task.solvewithbasis(<br />

transp,<br />

numnz,<br />

sub,<br />

val)<br />

Solve a linear equation system involving a basis matrix.<br />

Arguments<br />

numnz : int<br />

As input it is the number of non-zeros in b. As output it is the number of non-zeros in ¯X.<br />

sub : int[]<br />

As input it contains the positions of the non-zeros in b, i.e.<br />

b[sub[k]] ≠ 0, k = 0, . . . , numnz[0] − 1.<br />

As output it contains the positions of the non-zeros in ¯X. It is important that sub has<br />

room for numcon elements.

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

Saved successfully!

Ooh no, something went wrong!