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

382 APPENDIX A. API REFERENCE Task.putbaraij Inputs an element of barA. Task.putbarcblocktriplet Inputs barC in block triplet form. Task.putbarcj Changes one element in barc. Task.putbarsj Sets the dual solution for a semidefinite variable. Task.putbarvarname Puts the name of a semidefinite variable. Task.putbarxj Sets the primal solution for a semidefinite variable. Task.putbound Changes the bound for either one constraint or one variable. Task.putboundlist Changes the bounds of constraints or variables. Task.putboundslice Modifies bounds. Task.putcfix Replaces the fixed term in the objective. Task.putcj Modifies one linear coefficient in the objective. Task.putclist Modifies a part of the linear objective coefficients. Task.putconbound Changes the bound for one constraint. Task.putconboundlist Changes the bounds of a list of constraints. Task.putconboundslice Changes the bounds for a slice of the constraints. Task.putcone Replaces a conic constraint.

A.6. ALL FUNCTIONS BY NAME 383 Task.putconename Puts the name of a cone. Task.putconname Puts the name of a constraint. Task.putcslice Modifies a slice of the linear objective coefficients. Task.putdouparam Sets a double parameter. Task.putintparam Sets an integer parameter. Env.putlicensecode The purpose of this function is to input a runtime license code. Env.putlicensedebug Enables debug information for the license system. Env.putlicensepath Set the path to the license file. Env.putlicensewait Control whether mosek should wait for an available license if no license is available. Task.putmaxnumanz The function changes the size of the preallocated storage for linear coefficients. Task.putmaxnumbarvar Sets the number of preallocated symmetric matrix variables in the optimization task. Task.putmaxnumcon Sets the number of preallocated constraints in the optimization task. Task.putmaxnumcone Sets the number of preallocated conic constraints in the optimization task. Task.putmaxnumqnz Changes the size of the preallocated storage for quadratic terms. Task.putmaxnumvar Sets the number of preallocated variables in the optimization task. Task.putnadouparam Sets a double parameter.

A.6. ALL FUNCTIONS BY NAME 383<br />

Task.putconename<br />

Puts the name of a cone.<br />

Task.putconname<br />

Puts the name of a constraint.<br />

Task.putcslice<br />

Modifies a slice of the linear objective coefficients.<br />

Task.putdouparam<br />

Sets a double parameter.<br />

Task.putintparam<br />

Sets an integer parameter.<br />

Env.putlicensecode<br />

<strong>The</strong> purpose of this function is to input a runtime license code.<br />

Env.putlicensedebug<br />

Enables debug information for the license system.<br />

Env.putlicensepath<br />

Set the path to the license file.<br />

Env.putlicensewait<br />

Control whether mosek should wait for an available license if no license is available.<br />

Task.putmaxnumanz<br />

<strong>The</strong> function changes the size of the preallocated storage for linear coefficients.<br />

Task.putmaxnumbarvar<br />

Sets the number of preallocated symmetric matrix variables in the optimization task.<br />

Task.putmaxnumcon<br />

Sets the number of preallocated constraints in the optimization task.<br />

Task.putmaxnumcone<br />

Sets the number of preallocated conic constraints in the optimization task.<br />

Task.putmaxnumqnz<br />

Changes the size of the preallocated storage for quadratic terms.<br />

Task.putmaxnumvar<br />

Sets the number of preallocated variables in the optimization task.<br />

Task.putnadouparam<br />

Sets a double parameter.

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

Saved successfully!

Ooh no, something went wrong!