CDD hangs

Updated:

Try sdpsettings(‘cdd.method’,’dual-simplex’)

CSDP does not work

Updated:

Do you have CSDP in your operating system path? CSDP executable in MATLAB path is not sufficient.

CSDP runs but crashes

Updated:

Running MATLAB 6.1 and CSDP 4.6? In that case, edit readsol.m in the CSDP directory and replace all occurrences of && with &. Even better, downlo...

Can I solve BMIs without PENBMI or PENLAB?

Updated:

Yes. Develop your own heuristic (fix variables, alternating coordinates, trust regions etc). This can easily be done in high-level YALMIP code.

Compiling YALMIP with a solver does not work

Updated:

When compiling, you need to add some files to your include list. As an example, for sedumi, you have to add the files sedumi.m, ada_pcg.m and install_sedumi....

Declaring an sdpvar object named i or j inside a function fails

Updated:

This is one of the weirdest bugs in MATLAB I have come across. If you define your own class (such as sdpvar) and use the constructor inside of a function bod...

I have an idea for a new feature. What to do?

Updated:

Send a mail to johan.lofberg@liu.se. However, I only add new features when I need them my self, but if your idea is good enough, I might realize that I need ...

I have found a bug. What to do?

Updated:

Start a new thread on the Google groups YALMIP forum, or send a mail to johanl@isy.liu.se. Type ver in MATLAB and include the result in the mail. If possible...

I have problems solving a geometric program

Updated:

To begin with, you need a solver that can solve geometric programs (YALMIP currently supports GPPOSY and MOSEK, FMINCON, IPOPT, and SNOPT by internally perfo...

It is so slow!

Updated:

As a rule of thumb, the time reported as ‘yalmiptime’ in the output diagnostic should be around fractions of a second for small problems, and typically a fra...

PENBMI does not work with YALMIP anymore

Updated:

Version 1.1 and earlier will not work directly anymore. However, this is easily fixed. Edit the file callpenbmim.m (if you use the PENOPT version) or callpen...

QUADPROG fails

Updated:

QUADPROG does not work if you have GUROBI installed (name conflict)

Using implies on constraint sometimes fails

Updated:

Using the logical constraint implies with the first argument being a constraint can easily lead to numerically sensitive models, and should thus be avoided. ...

Why are some fmincon options missing?

Updated:

YALMIP creates the options structure for FMINCON through the call fmincon(‘default’) which creates a different set of options compared to the alternative me...

YALMIP does not work

Updated:

Restart MATLAB. Are you running the absolutely latest version of YALMIP. If not, install it. Remove any old version of YALMIP before you install the n...

fmincon crashes

Updated:

Do you have MOSEK installed? This can cause problems due to an inconsistency between MATLABs and Moseks implementation of the file optimset.m. Remove MOSEK f...