{"id":534,"date":"2009-01-29T12:58:45","date_gmt":"2009-01-29T16:58:45","guid":{"rendered":"http:\/\/mat.tepper.cmu.edu\/blog\/?p=534"},"modified":"2009-01-29T12:58:45","modified_gmt":"2009-01-29T16:58:45","slug":"gurobi-versus-cplex-benchmarks","status":"publish","type":"post","link":"https:\/\/mat.tepper.cmu.edu\/blog\/index.php\/2009\/01\/29\/gurobi-versus-cplex-benchmarks\/","title":{"rendered":"Gurobi versus CPLEX benchmarks"},"content":{"rendered":"<p><a href=\"http:\/\/plato.asu.edu\/\">Hans Mittelmann<\/a> has released <a href=\"http:\/\/plato.asu.edu\/ftp\/milpc.html\">some benchmark results<\/a> comparing CPLEX 11.2 with the first version of <a href=\"http:\/\/mat.tepper.cmu.edu\/blog\/?p=392\">Gurobi<\/a>&#8216;s code (1.02) in both sequential and parallel (4 processor) mode.\u00a0 Mosek&#8217;s sequential code is also included in the test.\u00a0 Let me highlight some of the lines:<\/p>\n<blockquote>\n<pre>=================================================================\ns problem     CPLEX1    GUROBI1     MOSEK1     CPLEX4    GUROBI4\n-----------------------------------------------------------------\n    air04          9         18         49          7         13\n   mzzv11         89        116        434         80        116\n      lrn         42        104          f         36        996\nns1671066       1828          1       2474         26          1\nns1688347       1531        315          f        716        258\nns1692855       1674        322          f        688        234\n     acc5         25        247       4621         30         33<\/pre>\n<\/blockquote>\n<p>These are not chosen to be typical, so be sure to look at the full list of benchmark results.\u00a0 Concentrating on the first two columns, Gurobi&#8217;s code seems to be holding its own against CPLEX, and sometimes has a surprising result.\u00a0 The ns1671066 result certainly looks like Gurobi is doing something interesting relative to CPLEX.<\/p>\n<p>It is also striking how often the speedup is more than a factor of 4.\u00a0 That same ns1671066 instances that CPLEX had such trouble on sequentially certainly looks much more solvable with 4 threads.\u00a0 But sometimes there is a significant slowdown (see Gurobi on lrn).\u00a0 Perhaps someone more skilled in this area can explain how we should interpret these benchmarks.<\/p>\n<p>The official release for Gurobi is still two months away:\u00a0 it will be interesting to see how the released version works.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hans Mittelmann has released some benchmark results comparing CPLEX 11.2 with the first version of Gurobi&#8216;s code (1.02) in both sequential and parallel (4 processor) mode.\u00a0 Mosek&#8217;s sequential code is also included in the test.\u00a0 Let me highlight some of the lines: ================================================================= s problem CPLEX1 GUROBI1 MOSEK1 CPLEX4 GUROBI4 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; air04 9 18 49 &hellip; <a href=\"https:\/\/mat.tepper.cmu.edu\/blog\/index.php\/2009\/01\/29\/gurobi-versus-cplex-benchmarks\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Gurobi versus CPLEX benchmarks&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,12],"tags":[],"class_list":["post-534","post","type-post","status-publish","format-standard","hentry","category-companies","category-computing"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/mat.tepper.cmu.edu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mat.tepper.cmu.edu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mat.tepper.cmu.edu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mat.tepper.cmu.edu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mat.tepper.cmu.edu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=534"}],"version-history":[{"count":0,"href":"https:\/\/mat.tepper.cmu.edu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/534\/revisions"}],"wp:attachment":[{"href":"https:\/\/mat.tepper.cmu.edu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mat.tepper.cmu.edu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mat.tepper.cmu.edu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}