The MOSEK Python optimizer API manual Version 7.0 (Revision 141)

Optimizer API for Python - Documentation - Mosek Optimizer API for Python - Documentation - Mosek

25.11.2015 Views

226 APPENDIX A. API REFERENCE A.2.39 Task.getbarsj() Task.getbarsj( whichsol, j, barsj) Obtains the dual solution for a semidefinite variable. Arguments barsj : double[] Value of ¯s j . j : int Index of the semidefinite variable. whichsol : soltype Selects a solution. Description: Obtains the dual solution for a semidefinite variable. A.2.40 Task.getbarvarname() name = Task.getbarvarname(i) Obtains a name of a semidefinite variable. Arguments i : int Index. name : str The requested name is copied to this buffer. Description: See also Obtains a name of a semidefinite variable. • Task.getbarvarnamelen Obtains the length of a name of a semidefinite variable.

A.2. CLASS TASK 227 A.2.41 Task.getbarvarnameindex() asgn,index = Task.getbarvarnameindex(somename) Obtains the index of name of semidefinite variable. Arguments asgn : int Is non-zero if the name somename is assigned to a semidefinite variable. index : int If the name somename is assigned to a semidefinite variable, then index is the name of the constraint. somename : str The requested name is copied to this buffer. Description: See also Obtains the index of name of semidefinite variable. • Task.getbarvarname Obtains a name of a semidefinite variable. A.2.42 Task.getbarvarnamelen() len = Task.getbarvarnamelen(i) Obtains the length of a name of a semidefinite variable. Arguments i : int Index. len : int Returns the length of the indicated name. Description: Obtains the length of a name of a semidefinite variable. See also • Task.getbarvarname Obtains a name of a semidefinite variable.

226 APPENDIX A. <strong>API</strong> REFERENCE<br />

A.2.39<br />

Task.getbarsj()<br />

Task.getbarsj(<br />

whichsol,<br />

j,<br />

barsj)<br />

Obtains the dual solution for a semidefinite variable.<br />

Arguments<br />

barsj : double[]<br />

Value of ¯s j .<br />

j : int<br />

Index of the semidefinite variable.<br />

whichsol : soltype<br />

Selects a solution.<br />

Description:<br />

Obtains the dual solution for a semidefinite variable.<br />

A.2.40<br />

Task.getbarvarname()<br />

name = Task.getbarvarname(i)<br />

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

Arguments<br />

i : int<br />

Index.<br />

name : str<br />

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

Description:<br />

See also<br />

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

• Task.getbarvarnamelen Obtains the length of a name of a semidefinite variable.

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

Saved successfully!

Ooh no, something went wrong!