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.

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

A.2.241<br />

Task.putvarbranchorder()<br />

Task.putvarbranchorder(<br />

j,<br />

priority,<br />

direction)<br />

Assigns a branching priority and direction to a variable.<br />

Arguments<br />

direction : branchdir<br />

Specifies the preferred branching direction for variable j.<br />

j : int<br />

Index of the variable.<br />

priority : int<br />

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

Description:<br />

<strong>The</strong> purpose of the function is to assign a branching priority and direction. <strong>The</strong> higher priority<br />

that is assigned to an integer variable the earlier the mixed integer <strong>optimizer</strong> will branch on the<br />

variable. <strong>The</strong> branching direction controls if the <strong>optimizer</strong> branches up or down on the variable.<br />

A.2.242<br />

Task.putvarname()<br />

Task.putvarname(<br />

j,<br />

name)<br />

Puts the name of a variable.<br />

Arguments<br />

j : int<br />

Index of the variable.<br />

name : str<br />

<strong>The</strong> variable name.<br />

Description:<br />

Puts the name of a variable.

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

Saved successfully!

Ooh no, something went wrong!