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

582 APPENDIX D. API CONSTANTS D.47 Solve primal or dual form solveform.free The optimizer is free to solve either the primal or the dual problem. solveform.primal The optimizer should solve the primal problem. solveform.dual The optimizer should solve the dual problem. D.48 Status keys stakey.unk The status for the constraint or variable is unknown. stakey.bas The constraint or variable is in the basis. stakey.supbas The constraint or variable is super basic. stakey.low The constraint or variable is at its lower bound. stakey.upr The constraint or variable is at its upper bound. stakey.fix The constraint or variable is fixed. stakey.inf The constraint or variable is infeasible in the bounds. D.49 Starting point types startpointtype.free The starting point is chosen automatically. startpointtype.guess The optimizer guesses a starting point.

D.50. STREAM TYPES 583 startpointtype.constant The optimizer constructs a starting point by assigning a constant value to all primal and dual variables. This starting point is normally robust. startpointtype.satisfy bounds The starting point is choosen to satisfy all the simple bounds on nonlinear variables. If this starting point is employed, then more care than usual should employed when choosing the bounds on the nonlinear variables. In particular very tight bounds should be avoided. D.50 Stream types streamtype.log Log stream. Contains the aggregated contents of all other streams. This means that a message written to any other stream will also be written to this stream. streamtype.msg Message stream. Log information relating to performance and progress of the optimization is written to this stream. streamtype.err Error stream. Error messages are written to this stream. streamtype.wrn Warning stream. Warning messages are written to this stream. D.51 Cone types symmattype.sparse Sparse symmetric matrix. D.52 Integer values value.license buffer length The length of a license key buffer. value.max str len Maximum string length allowed in MOSEK.

582 APPENDIX D. <strong>API</strong> CONSTANTS<br />

D.47 Solve primal or dual form<br />

solveform.free<br />

<strong>The</strong> <strong>optimizer</strong> is free to solve either the primal or the dual problem.<br />

solveform.primal<br />

<strong>The</strong> <strong>optimizer</strong> should solve the primal problem.<br />

solveform.dual<br />

<strong>The</strong> <strong>optimizer</strong> should solve the dual problem.<br />

D.48 Status keys<br />

stakey.unk<br />

<strong>The</strong> status for the constraint or variable is unknown.<br />

stakey.bas<br />

<strong>The</strong> constraint or variable is in the basis.<br />

stakey.supbas<br />

<strong>The</strong> constraint or variable is super basic.<br />

stakey.low<br />

<strong>The</strong> constraint or variable is at its lower bound.<br />

stakey.upr<br />

<strong>The</strong> constraint or variable is at its upper bound.<br />

stakey.fix<br />

<strong>The</strong> constraint or variable is fixed.<br />

stakey.inf<br />

<strong>The</strong> constraint or variable is infeasible in the bounds.<br />

D.49 Starting point types<br />

startpointtype.free<br />

<strong>The</strong> starting point is chosen automatically.<br />

startpointtype.guess<br />

<strong>The</strong> <strong>optimizer</strong> guesses a starting point.

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

Saved successfully!

Ooh no, something went wrong!