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

340 APPENDIX A. API REFERENCE Description: Sets a slice of the s c u vector for a solution. See also • Task.putsuc Sets the suc vector for a solution. A.2.235 Task.putsux() Task.putsux( whichsol, sux) Sets the sux vector for a solution. Arguments sux : double[] The s x u vector. whichsol : soltype Selects a solution. Description: See also Sets the s x u vector for a solution. • Task.putsuxslice Sets a slice of the sux vector for a solution. A.2.236 Task.putsuxslice() Task.putsuxslice( whichsol, first, last, sux) Sets a slice of the sux vector for a solution. Arguments first : int First index in the sequence.

A.2. CLASS TASK 341 last : int Last index plus 1 in the sequence. sux : double[] Dual variables corresponding to the upper bounds on the variables. whichsol : soltype Selects a solution. Description: See also Sets a slice of the s x u vector for a solution. • Task.putsux Sets the sux vector for a solution. A.2.237 Task.puttaskname() Task.puttaskname(taskname) Assigns a new name to the task. Arguments taskname : str Name assigned to the task. Description: Assigns the name taskname to the task. A.2.238 Task.putvarbound() Task.putvarbound( j, bk, bl, bu) Changes the bound for one variable. Arguments bk : boundkey New bound key.

A.2. CLASS TASK 341<br />

last : int<br />

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

sux : double[]<br />

Dual variables corresponding to the upper bounds on the variables.<br />

whichsol : soltype<br />

Selects a solution.<br />

Description:<br />

See also<br />

Sets a slice of the s x u vector for a solution.<br />

• Task.putsux Sets the sux vector for a solution.<br />

A.2.237<br />

Task.puttaskname()<br />

Task.puttaskname(taskname)<br />

Assigns a new name to the task.<br />

Arguments<br />

taskname : str<br />

Name assigned to the task.<br />

Description:<br />

Assigns the name taskname to the task.<br />

A.2.238<br />

Task.putvarbound()<br />

Task.putvarbound(<br />

j,<br />

bk,<br />

bl,<br />

bu)<br />

Changes the bound for one variable.<br />

Arguments<br />

bk : boundkey<br />

New bound key.

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

Saved successfully!

Ooh no, something went wrong!