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.

D.50. STREAM TYPES 583<br />

startpointtype.constant<br />

<strong>The</strong> <strong>optimizer</strong> constructs a starting point by assigning a constant value to all primal and dual<br />

variables. This starting point is normally robust.<br />

startpointtype.satisfy bounds<br />

<strong>The</strong> starting point is choosen to satisfy all the simple bounds on nonlinear variables. If this<br />

starting point is employed, then more care than usual should employed when choosing the bounds<br />

on the nonlinear variables. In particular very tight bounds should be avoided.<br />

D.50 Stream types<br />

streamtype.log<br />

Log stream. Contains the aggregated contents of all other streams. This means that a message<br />

written to any other stream will also be written to this stream.<br />

streamtype.msg<br />

Message stream. Log information relating to performance and progress of the optimization is<br />

written to this stream.<br />

streamtype.err<br />

Error stream. Error messages are written to this stream.<br />

streamtype.wrn<br />

Warning stream. Warning messages are written to this stream.<br />

D.51 Cone types<br />

symmattype.sparse<br />

Sparse symmetric matrix.<br />

D.52 Integer values<br />

value.license buffer length<br />

<strong>The</strong> length of a license key buffer.<br />

value.max str len<br />

Maximum string length allowed in <strong>MOSEK</strong>.

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

Saved successfully!

Ooh no, something went wrong!