MATLAB crashes with IBM's MATLAB-CPLEX Connector for a program written in YALMIP

59 views
Skip to first unread message

glanke92

unread,
Sep 1, 2020, 4:46:08 AM9/1/20
to YALMIP
Dear Dr. Lofberg,

First of all I have to admit that this question does not fit well to the scope of this YALMIP group. But anyway I thought of asking at least to get an opinion.

I have written a code for a simple MPC problem with an MIQP formulation to be solved with CPLEX 12.9

But when I execute the code, after 1-2 minutes I get an error message which is the same thing posted here on MATHWORKS.

There, they suggest to upgrade to CPLEX 12.7 but I already use CPLEX 12.9 with MATLAB 2019a.

Considering all this, I had to shift to Gurobi, but I do not think that's an option.

Any idea on this please ?

Thank you.

Johan Löfberg

unread,
Sep 1, 2020, 5:12:06 AM9/1/20
to YALMIP
The simple answer is that there is a bug in cplex and there is not much you can do about it.

Try gurobi.

Reply all
Reply to author
Forward
0 new messages