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

A.2.148<br />

Task.getvarbranchpri()<br />

priority = Task.getvarbranchpri(j)<br />

Obtains the branching priority for a variable.<br />

Arguments<br />

j : int<br />

Index of the variable.<br />

priority : int<br />

<strong>The</strong> branching priority assigned to variable j.<br />

Description:<br />

Obtains the branching priority for a given variable j.<br />

A.2.149<br />

Task.getvarname()<br />

name = Task.getvarname(j)<br />

Obtains a name of a variable.<br />

Arguments<br />

j : int<br />

Index.<br />

name : str<br />

Is assigned the required name.<br />

Description:<br />

Obtains a name of a variable.<br />

A.2.150<br />

Task.getvarnameindex()<br />

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

Checks whether the name somename has been assigned to any variable.<br />

Arguments

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

Saved successfully!

Ooh no, something went wrong!