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

348 APPENDIX A. API REFERENCE last : int Last index plus 1 in the sequence. whichsol : soltype Selects a solution. xx : double[] Primal variable solution. Description: See also Obtains a slice of the x x vector for a solution. • Task.putxx Sets the xx vector for a solution. A.2.249 Task.puty() Task.puty( whichsol, y) Sets the y vector for a solution. Arguments whichsol : soltype Selects a solution. y : double[] The y vector. Description: See also Sets the y vector for a solution. • Task.putyslice Sets a slice of the y vector for a solution. A.2.250 Task.putyslice() Task.putyslice( whichsol, first, last, y)

A.2. CLASS TASK 349 Sets a slice of the y vector for a solution. Arguments first : int First index in the sequence. last : int Last index plus 1 in the sequence. whichsol : soltype Selects a solution. y : double[] Vector of dual variables corresponding to the constraints. Description: Sets a slice of the y vector for a solution. See also • Task.puty Sets the y vector for a solution. A.2.251 Task.readbranchpriorities() Task.readbranchpriorities(filename) Reads branching priority data from a file. Arguments filename : str Data is read from the file filename. Description: Reads branching priority data from a file. See also • Task.writebranchpriorities Writes branching priority data to a file.

A.2. CLASS TASK 349<br />

Sets a slice of the y vector for a solution.<br />

Arguments<br />

first : int<br />

First index in the sequence.<br />

last : int<br />

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

whichsol : soltype<br />

Selects a solution.<br />

y : double[]<br />

Vector of dual variables corresponding to the constraints.<br />

Description:<br />

Sets a slice of the y vector for a solution.<br />

See also<br />

• Task.puty Sets the y vector for a solution.<br />

A.2.251<br />

Task.readbranchpriorities()<br />

Task.readbranchpriorities(filename)<br />

Reads branching priority data from a file.<br />

Arguments<br />

filename : str<br />

Data is read from the file filename.<br />

Description:<br />

Reads branching priority data from a file.<br />

See also<br />

• Task.writebranchpriorities Writes branching priority data to a file.

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

Saved successfully!

Ooh no, something went wrong!