Install QUINOPT

QUINOPT is easily installed by running the installer installQUINOPT.m in MATLAB. Below is a detailed installation guide.

Step 1: Install YALMIP

QUINOPT is an add-on for YALMIP, the optimization modeling software by J. Löfberg. If you already have YALMIP installed, you cak skip this step. Otherwise, download YALMIP and install it by adding the following folders to MATLAB’s path:

YALMIP-master
YALMIP-master/extras
YALMIP-master/solvers
YALMIP-master/modules
YALMIP-master/modules/parametric
YALMIP-master/modules/moment
YALMIP-master/modules/global
YALMIP-master/modules/sos
YALMIP-master/operators

You can test your YALMIP installation by running

>> yalmiptest

at the MATLAB command prompt. More details on how to install or update YALMIP be found on YALMIP’s website.

Note

The folder names above are the default when YALMIP is downloaded from GitHub. Should you wish to use a different folder name, simply replace <YALMIP-master> with the appropriate path.

Warning

YALMIP is regularly updated, and changes in YALMIP may sometimes affect the functionality of QUINOPT. If you have downloaded YALMIP’s latest version and are experiencing installation problems, please contact us or file an issue via the GitHub issue tracker.

Step 2: Install an SDP solver

To be able to use QUINOPT, you need to install a semidefinite programming (SDP) solver compatible with YALMIP. A complete list of YALMIP-compatible SDP solvers can be found here.

Warning

QUINOPT has been tested with SeDuMi, SDPT3, SDPA, and Mosek (free for users in academia). Other suitable YALMIP-compatible SDP solver should work, but use them at your own risk!

Step 3: Install QUINOPT

If you have successfully installed YALMIP and a compatible SDP solver, you are ready to install QUINOPT. First, download QUINOPT’s latest stable version (for the “developer” version or previous versions, visit the Download page).

After unzipping the downloaded folder, navigate to it in MATLAB and simply run the installer:

>> installQUINOPT

The installer should compile the required files, add the required folders to the MATLAB path, and run some test problems to make sure everything is working. If you experience any installation problems, please contact us or file an issue via the GitHub issue tracker.

Warning

During installation, you may receive the following warning:

Warning: Compilation of mex files by installQUINOPT failed.
QUINOPT will still work without compiled mex files, but
it will be slower. To resolve the issue, make sure that
a supported compiler is installed and re-run the installer.

QUINOPT should still work, but you may wish to resolve the issue with the mex file compilation. You can find a list of supported compilers for MATLAB’s latest version on this webpage; for all other versions of MATLAB please look at this webpage.