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.

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

A.2.146<br />

Task.getvarboundslice()<br />

Task.getvarboundslice(<br />

first,<br />

last,<br />

bk,<br />

bl,<br />

bu)<br />

Obtains bounds information for a slice of the variables.<br />

Arguments<br />

bk : mosek.boundkey[]<br />

Bound keys.<br />

bl : double[]<br />

Values for lower bounds.<br />

bu : double[]<br />

Values for upper bounds.<br />

first : int<br />

First index in the sequence.<br />

last : int<br />

Last index plus 1 in the sequence.<br />

Description:<br />

Obtains bounds information for a slice of the variables.<br />

A.2.147<br />

Task.getvarbranchdir()<br />

direction = Task.getvarbranchdir(j)<br />

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

Arguments<br />

direction : branchdir<br />

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

j : int<br />

Index of the variable.<br />

Description:<br />

Obtains the branching direction for a given variable j.

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

Saved successfully!

Ooh no, something went wrong!