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

346 APPENDIX A. API REFERENCE A.2.245 Task.putxc() Task.putxc( whichsol, xc) Sets the xc vector for a solution. Arguments whichsol : soltype Selects a solution. xc : double[] The x c vector. Description: See also Sets the x c vector for a solution. • Task.putxcslice Sets a slice of the xc vector for a solution. A.2.246 Task.putxcslice() Task.putxcslice( whichsol, first, last, xc) Sets a slice of the xc 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. xc : double[] Primal constraint solution.

A.2. CLASS TASK 347 Description: Sets a slice of the x c vector for a solution. See also • Task.putxc Sets the xc vector for a solution. A.2.247 Task.putxx() Task.putxx( whichsol, xx) Sets the xx vector for a solution. Arguments whichsol : soltype Selects a solution. xx : double[] The x x vector. Description: See also Sets the x x vector for a solution. • Task.putxxslice Obtains a slice of the xx vector for a solution. A.2.248 Task.putxxslice() Task.putxxslice( whichsol, first, last, xx) Obtains a slice of the xx vector for a solution. Arguments first : int First index in the sequence.

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

A.2.245<br />

Task.putxc()<br />

Task.putxc(<br />

whichsol,<br />

xc)<br />

Sets the xc vector for a solution.<br />

Arguments<br />

whichsol : soltype<br />

Selects a solution.<br />

xc : double[]<br />

<strong>The</strong> x c vector.<br />

Description:<br />

See also<br />

Sets the x c vector for a solution.<br />

• Task.putxcslice Sets a slice of the xc vector for a solution.<br />

A.2.246<br />

Task.putxcslice()<br />

Task.putxcslice(<br />

whichsol,<br />

first,<br />

last,<br />

xc)<br />

Sets a slice of the xc 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 />

xc : double[]<br />

Primal constraint solution.

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

Saved successfully!

Ooh no, something went wrong!