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.

48 CHAPTER 5. THE OPTIMIZERS FOR CONTINUOUS PROBLEMS<br />

Optimizer Associated Default<br />

parameter<br />

priority<br />

MSK OPTIMIZER INTPNT MSK IPAR CONCURRENT PRIORITY INTPNT 4<br />

MSK OPTIMIZER FREE SIMPLEX MSK IPAR CONCURRENT PRIORITY FREE SIMPLEX 3<br />

MSK OPTIMIZER PRIMAL SIMPLEX MSK IPAR CONCURRENT PRIORITY PRIMAL SIMPLEX 2<br />

MSK OPTIMIZER DUAL SIMPLEX MSK IPAR CONCURRENT PRIORITY DUAL SIMPLEX 1<br />

Table 5.4: Default priorities for optimizer selection in concurrent optimization.<br />

5.6.3.1 Concurrent optimization from the <strong>command</strong> <strong>line</strong><br />

<strong>The</strong> <strong>command</strong> <strong>line</strong><br />

mosek afiro.mps \<br />

-d MSK IPAR OPTIMIZER MSK OPTIMIZER CONCURRENT \<br />

-d MSK IPAR CUNCURRENT NUM OPTIMIZERS 2<br />

produces the following (edited) output:<br />

...<br />

Number of concurrent optimizers : 2<br />

Optimizer selected for thread number 0 : interior-point (threads = 1)<br />

Optimizer selected for thread number 1 : free simplex<br />

Total number of threads required : 2<br />

...<br />

Thread number 1 (free simplex) terminated first.<br />

...<br />

Concurrent optimizer terminated. CPU Time: 0.03. Real Time: 0.00.<br />

As indicated in the log information, the interior-point and the free simplex optimizers are employed<br />

concurrently. However, only the output from the optimizer having the highest priority is printed to<br />

the screen. In the example this is the interior-point optimizer.<br />

<strong>The</strong> <strong>line</strong><br />

Total number of threads required : 2<br />

indicates the number of threads used. If the concurrent optimizer should be effective, this should be<br />

lower than the number of CPUs.<br />

In the above example the simplex optimizer finishes first as indicated in the log information.

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

Saved successfully!

Ooh no, something went wrong!