25.11.2015 Views

The MOSEK Python optimizer API manual Version 7.0 (Revision 141)

Optimizer API for Python - Documentation - Mosek

Optimizer API for Python - Documentation - Mosek

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

F.3. THE OPF FORMAT 609<br />

Note that a [solution]-section must be always specified inside a [solutions]-section. <strong>The</strong><br />

syntax of a [solution]-section is the following:<br />

[solution SOLTYPE status=STATUS]...[/solution]<br />

where SOLTYPE is one of the strings<br />

– ‘interior’, a non-basic solution,<br />

– ‘basic’, a basic solution,<br />

– ‘integer’, an integer solution,<br />

and STATUS is one of the strings<br />

– ‘UNKNOWN’,<br />

– ‘OPTIMAL’,<br />

– ‘INTEGER OPTIMAL’,<br />

– ‘PRIM FEAS’,<br />

– ‘DUAL FEAS’,<br />

– ‘PRIM AND DUAL FEAS’,<br />

– ‘NEAR OPTIMAL’,<br />

– ‘NEAR PRIM FEAS’,<br />

– ‘NEAR DUAL FEAS’,<br />

– ‘NEAR PRIM AND DUAL FEAS’,<br />

– ‘PRIM INFEAS CER’,<br />

– ‘DUAL INFEAS CER’,<br />

– ‘NEAR PRIM INFEAS CER’,<br />

– ‘NEAR DUAL INFEAS CER’,<br />

– ‘NEAR INTEGER OPTIMAL’.<br />

Most of these values are irrelevant for input solutions; when constructing a solution for simplex<br />

hot-start or an initial solution for a mixed integer problem the safe setting is UNKNOWN.<br />

A [solution]-section contains [con] and [var] sections. Each [con] and [var] section defines<br />

solution information for a single variable or constraint, specified as list of KEYWORD/value pairs,<br />

in any order, written as<br />

KEYWORD=value<br />

Allowed keywords are as follows:<br />

– sk. <strong>The</strong> status of the item, where the value is one of the following strings:<br />

∗ LOW, the item is on its lower bound.<br />

∗ UPR, the item is on its upper bound.<br />

∗ FIX, it is a fixed item.<br />

∗ BAS, the item is in the basis.<br />

∗ SUPBAS, the item is super basic.

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

Saved successfully!

Ooh no, something went wrong!