25.11.2015 Views

The MOSEK optimization toolbox for MATLAB manual Version 7.0 (Revision 141)

MATLAB optimization toolbox manual - Documentation - Mosek

MATLAB optimization toolbox manual - Documentation - Mosek

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.

14 CHAPTER 4. INSTALLATION<br />

4.1.2 On Linux/UNIX/MAC OS X<br />

If you are using UNIX or a UNIX-like operating system you should do<br />

% For versions R2009b to R2011b<br />

% <strong>The</strong>se versions are not supported on MAC OSX.<br />

addpath ’/home/user/mosek/7/<strong>toolbox</strong>/r2009b’<br />

% For versions R2012a and R2012b<br />

addpath ’/home/user/mosek/7/<strong>toolbox</strong>/r2012a’<br />

% For versions R2013a or newer<br />

addpath ’/home/user/mosek/7/<strong>toolbox</strong>/r2013a’<br />

This assumes that <strong>MOSEK</strong> is installed at<br />

/home/user<br />

If this is not the case, you will have to change the path given to addpath.<br />

4.1.3 Permanently changing matlabpath<br />

Normally, you will have to enter the addpath command every time <strong>MATLAB</strong> is started. This can be<br />

avoided if the addpath command is added to<br />

<strong>toolbox</strong>\local\startup.m<br />

where is the <strong>MATLAB</strong> root directory.<br />

<strong>MATLAB</strong> path can be per<strong>for</strong>med using the<br />

\File\Set Path<br />

menu item.<br />

Alternatively the permanent modification of the<br />

4.2 Verifying that <strong>MOSEK</strong> works<br />

You can verify that <strong>MOSEK</strong> works by executing<br />

mosekdiag<br />

in <strong>MATLAB</strong>. You should get a message similar to this:<br />

Matlab version: 7.13.0.564 (R2011b)<br />

Architecture : GLNXA64<br />

<strong>The</strong> mosek optimizer executed successfully from the command line:<br />

<strong>MOSEK</strong> <strong>Version</strong> <strong>7.0</strong>.0.78 (Build date: 2013-8-13 14:11:04)<br />

Copyright (c) 1998-2013 <strong>MOSEK</strong> ApS, Denmark. WWW: http://mosek.com<br />

Global optimizer version: 8.0.868.287. Global optimizer build date: Jan 21 2013 10:42:51<br />

Barrier Solver <strong>Version</strong> <strong>7.0</strong>.0.078,<br />

Plat<strong>for</strong>m Linux 64x86 (D).<br />

FlexLM<br />

<strong>Version</strong> : 11.11<br />

Hostname : gram<br />

Host ID : "bc305bea244f bc305bea2450"

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

Saved successfully!

Ooh no, something went wrong!