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.

5.2. LINEAR OPTIMIZATION 43<br />

• Raise tolerances for allowed primal or dual feasibility: Hence, increase the value of<br />

– MSK DPAR BASIS TOL X, and<br />

– MSK DPAR BASIS TOL S.<br />

• Raise or lower pivot tolerance: Change the MSK DPAR SIMPLEX ABS TOL PIV parameter.<br />

• Switch optimizer: Try another optimizer.<br />

• Switch off crash: Set both MSK IPAR SIM PRIMAL CRASH and MSK IPAR SIM DUAL CRASH to 0.<br />

• Experiment with other pricing strategies: Try different values for the parameters<br />

– MSK IPAR SIM PRIMAL SELECTION and<br />

– MSK IPAR SIM DUAL SELECTION.<br />

• If you are using hot-starts, in rare cases switching off this feature may improve stability. This is<br />

controlled by the MSK IPAR SIM HOTSTART parameter.<br />

• Increase maximum set-backs allowed controlled by MSK IPAR SIM MAX NUM SETBACKS.<br />

• If the problem repeatedly becomes infeasible try switching off the special degeneracy handling.<br />

See the parameter MSK IPAR SIM DEGEN for details.<br />

5.2.4 <strong>The</strong> interior-point or the simplex optimizer?<br />

Given a <strong>line</strong>ar optimization problem, which optimizer is the best: <strong>The</strong> primal simplex, the dual simplex<br />

or the interior-point optimizer?<br />

It is impossible to provide a general answer to this question, however, the interior-point optimizer<br />

behaves more predictably — it tends to use between 20 and 100 iterations, almost independently of<br />

problem size — but cannot perform hot-start, while simplex can take advantage of an initial solution,<br />

but is less predictable for cold-start. <strong>The</strong> interior-point optimizer is used by default.<br />

5.2.5 <strong>The</strong> primal or the dual simplex variant?<br />

<strong>MOSEK</strong> provides both a primal and a dual simplex optimizer. Predicting which simplex optimizer<br />

is faster is impossible, however, in recent years the dual optimizer has seen several algorithmic and<br />

computational improvements, which, in our experience, makes it faster on average than the primal<br />

simplex optimizer. Still, it depends much on the problem structure and size.<br />

Setting the MSK IPAR OPTIMIZER parameter to MSK OPTIMIZER FREE SIMPLEX instructs <strong>MOSEK</strong> to<br />

choose which simplex optimizer to use automatically.<br />

To summarize, if you want to know which optimizer is faster for a given problem type, you should try<br />

all the optimizers.

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

Saved successfully!

Ooh no, something went wrong!