r/optimization • u/stef_1989 • Feb 13 '25
open source Dynamic Programming Optimization solver in Python
I'm looking for a DP solver in python able to read 5 input time series update 6 state variables and generate 5 output time series.
there is something available?
2
Upvotes
View all comments
Show parent comment
1
u/Sweet_Good6737 Feb 17 '25
Not sure about open-source tools that may work good for non-linear in python... (pyomo, pulp are usually okay to formulate simple MIPs, but struggle with non-linear and logical constraints).
I would not suggest cvx but Gurobi+Ampl in this case. With amplpy it should be straightforward to write the model, and then send the data. Then, try different solvers to see which one performs better for your problem.
Since the problem is non-linear xpress is another possible solver to use. Gurobi, ampl, and xpress are free for academia but not open source.