How to get optimality gap after solution

97 views
Skip to first unread message

convex_optimization

unread,
Jan 24, 2021, 2:40:05 AM1/24/21
to YALMIP

Hello,

I have a MILP problem  and  use Gurobi as a solver. I want 
to "get" the  optimality gap after the  the optimization problem is solved.

How can I get this?

Thanks

Johan Löfberg

unread,
Jan 24, 2021, 3:01:12 AM1/24/21
to YALMIP

Odd Quatar

unread,
Mar 27, 2021, 12:40:48 PM3/27/21
to YALMIP
Hi Johan,
Can we extract the optimality gap information when using optimizer instead of optimize?

Johan Löfberg

unread,
Mar 27, 2021, 1:37:30 PM3/27/21
to YALMIP
no

Odd Quatar

unread,
Mar 27, 2021, 1:45:26 PM3/27/21
to YALMIP
That's sad! Anyhow thanks for responding.

Thanks
Reply all
Reply to author
Forward
0 new messages