14.8 The Solution File Format¶
MOSEK can output solutions to a text file:
- basis solution file (extension - .bas) if the problem is optimized using the simplex optimizer or basis identification is performed,
- interior solution file (extension - .sol) if a problem is optimized using the interior-point optimizer and no basis identification is required,
- integer solution file (extension - .int) if the problem is solved with the mixed-integer optimizer.
All solution files have the format:
NAME                : <problem name>
PROBLEM STATUS      : <status of the problem>
SOLUTION STATUS     : <status of the solution>
OBJECTIVE NAME      : <name of the objective function>
PRIMAL OBJECTIVE    : <primal objective value corresponding to the solution>
DUAL OBJECTIVE      : <dual objective value corresponding to the solution>
CONSTRAINTS
INDEX  NAME     AT ACTIVITY    LOWER LIMIT   UPPER LIMIT   DUAL LOWER   DUAL UPPER
?      <name>   ?? <a value>   <a value>     <a value>     <a value>    <a value>
AFFINE CONIC CONSTRAINTS
INDEX  NAME     I          ACTIVITY    DUAL
?      <name>   <a value>  <a value>   <a value>
VARIABLES
INDEX  NAME     AT ACTIVITY    LOWER LIMIT   UPPER LIMIT   DUAL LOWER   DUAL UPPER    [CONIC DUAL]
?      <name>   ?? <a value>   <a value>     <a value>     <a value>    <a value>     [<a value>]
SYMMETRIC MATRIX VARIABLES
INDEX  NAME     I           J             PRIMAL        DUAL
?      <name>   <a value>   <a value>     <a value>     <a value>
The fields ?, ?? and <> will be filled with  problem and solution specific information as described below. The solution contains sections corresponding to parts of the input. Empty sections may be omitted and fields in [] are optional, depending on what type of problem is solved. The notation below follows the MOSEK naming convention for parts of the solution as defined in the problem specifications in Sec. 11 (Problem Formulation and Solutions).
- HEADER
- In this section, first the name of the problem is listed and afterwards the problem and solution status are shown. Next the primal and dual objective values are displayed. 
 
- CONSTRAINTS- INDEX: A sequential index assigned to the constraint by MOSEK
- NAME: The name of the constraint assigned by the user or autogenerated.
- AT: The status key- bkcof the constraint as in Table 14.4.
- ACTIVITY: the activity- xcof the constraint expression.
- LOWER LIMIT: the lower bound- blcof the constraint.
- UPPER LIMIT: the upper bound- bucof the constraint.
- DUAL LOWER: the dual multiplier- slccorresponding to the lower limit on the constraint.
- DUAL UPPER: the dual multiplier- succorresponding to the upper limit on the constraint.
 
- AFFINE CONIC CONSTRAINTS- INDEX: A sequential index assigned to the affine expressions by MOSEK
- NAME: The name of the affine conic constraint assigned by the user or autogenerated.
- I: The sequential index of the affine expression in the affine conic constraint.
- ACTIVITY: the activity of the- I-th affine expression in the affine conic constraint.
- DUAL: the dual multiplier- dotyfor the- I-th entry in the affine conic constraint.
 
- VARIABLES- INDEX: A sequential index assigned to the variable by MOSEK
- NAME: The name of the variable assigned by the user or autogenerated.
- AT: The status key- bkxof the variable as in Table 14.4.
- ACTIVITY: the value- xxof the variable.
- LOWER LIMIT: the lower bound- blxof the variable.
- UPPER LIMIT: the upper bound- buxof the variable.
- DUAL LOWER: the dual multiplier- slxcorresponding to the lower limit on the variable.
- DUAL UPPER: the dual multiplier- suxcorresponding to the upper limit on the variable.
- CONIC DUAL: the dual multiplier- skxcorresponding to a conic variable (deprecated).
 
- SYMMETRIC MATRIX VARIABLES- INDEX: A sequential index assigned to each symmetric matrix entry by MOSEK
- NAME: The name of the symmetric matrix variable assigned by the user or autogenerated.
- I: The row index in the symmetric matrix variable.
- J: The column index in the symmetric matrix variable.
- PRIMAL: the value of- barxfor the (- I,- J)-th entry in the symmetric matrix variable.
- DUAL: the dual multiplier- barsfor the (- I,- J)-th entry in the symmetric matrix variable.
 
| Status key | Interpretation | 
|---|---|
| 
 | Unknown status | 
| 
 | Is basic | 
| 
 | Is superbasic | 
| 
 | Is at the lower limit (bound) | 
| 
 | Is at the upper limit (bound) | 
| 
 | Lower limit is identical to upper limit | 
| 
 | Is infeasible i.e. the lower limit is greater than the upper limit. | 
Example.
Below is an example of a solution file.
