how to change optimization sense of Cplex using Yalmip

11 views
Skip to first unread message

Michael@PolyU

unread,
Feb 4, 2020, 2:01:13 AM2/4/20
to YALMIP
Good day Prof Johan,

Please how can i change the optimization sense of CPLEX from maximise to minimise using yalmip, and how can i check the current optimization sense. 

Thanks

Johan Löfberg

unread,
Feb 4, 2020, 2:05:54 AM2/4/20
to YALMIP
YALMIP assumes minimization, so to maximize you negate the objective
Reply all
Reply to author
Forward
0 new messages