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

A.2.41<br />

Task.getbarvarnameindex()<br />

asgn,index = Task.getbarvarnameindex(somename)<br />

Obtains the index of name of semidefinite variable.<br />

Arguments<br />

asgn : int<br />

Is non-zero if the name somename is assigned to a semidefinite variable.<br />

index : int<br />

If the name somename is assigned to a semidefinite variable, then index is the name of the<br />

constraint.<br />

somename : str<br />

<strong>The</strong> requested name is copied to this buffer.<br />

Description:<br />

See also<br />

Obtains the index of name of semidefinite variable.<br />

• Task.getbarvarname Obtains a name of a semidefinite variable.<br />

A.2.42<br />

Task.getbarvarnamelen()<br />

len = Task.getbarvarnamelen(i)<br />

Obtains the length of a name of a semidefinite variable.<br />

Arguments<br />

i : int<br />

Index.<br />

len : int<br />

Returns the length of the indicated name.<br />

Description:<br />

Obtains the length of a name of a semidefinite variable.<br />

See also<br />

• Task.getbarvarname Obtains a name of a semidefinite variable.

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

Saved successfully!

Ooh no, something went wrong!