25.11.2015 Views

The MOSEK command line tool Version 7.0 (Revision 141)

The MOSEK command line tool. Version 7.0 ... - Documentation

The MOSEK command line tool. Version 7.0 ... - Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.7. UNDERSTANDING SOLUTION QUALITY 55<br />

• Improve the formulation: A mixed-integer optimization problem may be impossible to solve<br />

in one form and quite easy in another form. However, it is beyond the scope of this manual<br />

to discuss good formulations for mixed-integer problems. For discussions on this topic see for<br />

example [11].<br />

6.7 Understanding solution quality<br />

To determine the quality of the solution one should check the following:<br />

• <strong>The</strong> solution status key returned by <strong>MOSEK</strong>.<br />

• <strong>The</strong> optimality gap: A measure for how much the located solution can deviate from the optimal<br />

solution to the problem.<br />

• Feasibility. How much the solution violates the constraints of the problem.<br />

<strong>The</strong> optimality gap is a measure for how close the solution is to the optimal solution. <strong>The</strong> optimality<br />

gap is given by<br />

ɛ = |(objective value of feasible solution) − (objective bound)|.<br />

<strong>The</strong> objective value of the solution is guarantied to be within ɛ of the optimal solution.<br />

<strong>The</strong> optimality gap can be retrieved through the solution item MSK DINF MIO OBJ ABS GAP. Often it is<br />

more meaningful to look at the optimality gap normalized with the magnitude of the solution. <strong>The</strong><br />

relative optimality gap is available in MSK DINF MIO OBJ REL GAP.

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

Saved successfully!

Ooh no, something went wrong!