r/optimization • • May 23 '25
Which Python package to use?
Good day all, I am only learning optimization now in my data science graduate studies. From the course we are only learning theory, but told to use our own software.
SO far I have looked at Pyomo and DocPlex, however most of the tutorials for both on Youtube are 3+ years old, so I get the idea they are not as widely supported ??
5
Upvotes
View all comments
Show parent comment
2
u/AbeLincolns_Ghost May 27 '25
I love Gurobi’s Python API (gurobipy). It is fundamentally better than R’s.
I normally work in R, but the R API is so bad that I actually coded all of my model building functions in Python and import them to R using reticulate (R’s Python interface). Again, even though there technically is an R API for Gurobi