Calling GAMS from MATLAB to optimize a MILP
6 次查看(过去 30 天)
显示 更早的评论
Hi
I coded a Mixed Integer Linear Problem(MILP) in MATLAB and I solved it with Gurobi (I called Gurobi from MATLAB) and I have the results.
Now, I want to use the existing matrices (A, RightHandSide, Coefficients of ObjectiveFunction, Signs of Constraints, LowerBound, UpperBound, VariableType) to solve the MILP with calling GAMS and compare the results. As I searched internet, I can find the written model in GAMS and how we can use those materials to solve the problem with MATLAB, but I can't find even a small example that how we can call GAMS from MATLAB to optimize a MILP written in MATLAB, Can anyone help me with that?
Thank you
0 个评论
回答(1 个)
Harsha Priya Daggubati
2020-4-9
Hi,
You can refer to the following link, to help you interface GAMS with MATLAB
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Problem-Based Optimization Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!