Nonlinear monomials remain when calling CPLEX

35 views
Skip to first unread message

Marko Gulin

unread,
Oct 16, 2014, 12:21:27 PM10/16/14
to yal...@googlegroups.com
Dear Johan,

I got the "Nonlinear monomials remain when calling CPLEX" error message when trying to use optimizer to solve MIQP problem. As you suggested in the error message, I tried to solve the optimization problem for fixed parameters, and it works just fine.
I'm attaching a piece of the program with following functions/scripts:
- ProgramRoutine.m is used for running the optimization for both cases: fixed and variable parameters
- YALMIP_highlevel.m is implementation of the optimization for fixed parameters. Note that the quadratic objective is defined between lines 27-31.
- YALMIP_highlevel_mpc.m is implementation of the optimization for variable parameters. Note that the quadratic objective is defined between lines 29-33.

If this is currently not supported by YALMIP, can you please add this feature in future releases.

Thanks!

Best,
Marko.

Johan Löfberg

unread,
Oct 16, 2014, 1:24:11 PM10/16/14
to yal...@googlegroups.com
Yes, I found that bug yesterday in Jaspers thread.

Simply remove the offending line in yalmip2cplex as a quick fix.

Marko Gulin

unread,
Oct 16, 2014, 2:04:12 PM10/16/14
to yal...@googlegroups.com
Now that I commented the line that was throwing an error, everything works just fine. Thanks!

MG
Reply all
Reply to author
Forward
0 new messages