[OFF-TOPIC] Gurobi vs Mosek via Yalmip

937 views
Skip to first unread message

G

unread,
Mar 4, 2015, 9:26:39 AM3/4/15
to yal...@googlegroups.com
Hi,

does anybody know about performance comparison between Gurobi and Mosek used through Yalmip ?

I am dealing with Mixed Integer LP formulated thanks to Yalmip Big-M support and, on my particular instance of the problem, Mosek is incredibly slower than Gurobi.

Johan Löfberg

unread,
Mar 4, 2015, 1:49:57 PM3/4/15
to yal...@googlegroups.com
MILPs are intractable, so it is common (and expected) that some problems are solved efficiently using some solvers but slow on other, and vice versa.

G

unread,
Mar 5, 2015, 9:56:46 AM3/5/15
to yal...@googlegroups.com
Ok, thanks for the answer.

By the way I am talking about

Gurobi - 4 CPUs laptop, 4 Gb RAM -> approx. 1h30min
Mosek - 16 CPUs server, 64 Gb RAM -> more than 1 day !!

Exactly same Matlab code, of course

Erling Andersen

unread,
Mar 6, 2015, 1:08:30 AM3/6/15
to yal...@googlegroups.com
The current status of MOSEK is that for linear MIPs then Gurobi is faster than MOSEK in most cases. MOSEK shines in other areas. If you do not care about anything else than speed then use Gurobi/CPLEX/Xpress for linear MIPs. 
If your problem is a conic MIP we should do quite good though but Johans comment always apply in the MIP area.

If you want to use MOSEK because of price or another feature, then contact MOSEK support and we might be able to help to get better speed for your problem




Reply all
Reply to author
Forward
0 new messages