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 287<br />

vartype : variabletype<br />

Variable type of variable j.<br />

Description:<br />

Gets the variable type of one variable.<br />

A.2.153<br />

Task.getvartypelist()<br />

Task.getvartypelist(<br />

subj,<br />

vartype)<br />

Obtains the variable type for one or more variables.<br />

Arguments<br />

subj : int[]<br />

A list of variable indexes.<br />

vartype : mosek.variabletype[]<br />

<strong>The</strong> variables types corresponding to the variables specified by subj.<br />

Description:<br />

Obtains the variable type of one or more variables.<br />

Upon return vartype[k] is the variable type of variable subj[k].<br />

A.2.154<br />

Task.getxc()<br />

Task.getxc(<br />

whichsol,<br />

xc)<br />

Obtains the xc vector for a solution.<br />

Arguments<br />

whichsol : soltype<br />

Selects a solution.<br />

xc : double[]<br />

<strong>The</strong> x c vector.<br />

Description:<br />

Obtains the x c vector for a solution.

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

Saved successfully!

Ooh no, something went wrong!