Write up the different formulations of IJKLM#98
Conversation
mlubin
left a comment
There was a problem hiding this comment.
Thanks for putting this together. I realized at the end that I should've commented on the .jl file, not the .md file.
|
It might also be worth pointing out that "fast Pyomo" is faster than "fast JuMP" because they use a different data structure. In this case, Pyomo gets given the JKL and KLM sets as dictionaries already indexed by the first two, and not as a single list: |
|
Wouldn't it be even faster with |
Yes, I would add it in the blog post at the end |
mlubin
left a comment
There was a problem hiding this comment.
LGTM besides the intro paragraph.
|
This is good to go by me, but I'll wait for some more approvals before merging. |
| the difference in performance and presenting an alternative JuMP | ||
| implementation with asymptotically better performance. We also identify that | ||
| differences in the input data format—not anything intrinsic to the | ||
| respective libraries—explain the performance difference between the Pyomo |
There was a problem hiding this comment.
Pyomo. Related to this image:
@RichardOberdieck was wondering https://oberdieck.dk/p/not-so-fast-gams/
|
Uh, nice, I guessed that you guys would follow up on this :) These timings look nice, go JuMP! |
@RichardOberdieck what was the fastest? Did you try a |
|
So I didn't try it for this one because I don't access to a GAMS license anymore. When I was still working at Gurobi, I had a client using GAMS and I wanted to show the With Regarding this benchmark I agree: it is pretty useless, and I don't think anyone sense-checked the numbers. Otherwise pyomo would never have been faster than JuMP... By the way: what is the plan now with this PR, are you going to make a blog post about it? Would be a fun read :) |
Yes, once this PR is merged, this should appear in the blog post: https://jump.dev/pages/news/ |
|
Here's the post: https://jump.dev/2023/07/20/gams-blog/ |



Text still to write.
I get these timings.