how can I set the "emphasis" parameter for cplex in yalmip?

72 views
Skip to first unread message

覃岭

unread,
Jan 3, 2015, 11:59:41 AM1/3/15
to yal...@googlegroups.com

I try to set parameter "emphasis=1" for cplex solver:

slovesdp(constr,obj,sdpsettings('options.parameter2058','1'));


But it return "Unrecognize property name options.parameter2058"
How can I do it?
I am using matlab 2014a and cplex 12.6.1 with latest yalmip.

thanks.

Johan Löfberg

unread,
Jan 3, 2015, 12:42:47 PM1/3/15
to yal...@googlegroups.com
output = optimize(constr,obj,sdpsettings('cplex.emphasis.numerical',1))

etc

覃岭

unread,
Jan 4, 2015, 11:26:42 AM1/4/15
to yal...@googlegroups.com
it seems yalmip still does not support cplex 12.6.1.
then I changed to cplex 12.6, and the program can run, but no matter how I change the value, it was always show "balance optimality and feasibility". 

覃岭

unread,
Jan 4, 2015, 11:34:08 AM1/4/15
to yal...@googlegroups.com
Ok, after i changed the version in definesolvers.m, it works.
thanks johan.

覃岭

unread,
Jan 4, 2015, 12:44:27 PM1/4/15
to yal...@googlegroups.com
output = optimize(constr,obj,sdpsettings('cplex.emphasis.numerical',1)) for LP
output = optimize(constr,obj,sdpsettings('cplex.emphasis.mip',1)) for MIP
Reply all
Reply to author
Forward
0 new messages