Clear Filters
Clear Filters

Calling GAMS from MATLAB to optimize a MILP

3 views (last 30 days)
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

Answers (1)

Harsha Priya Daggubati
Harsha Priya Daggubati on 9 Apr 2020
Hi,
You can refer to the following link, to help you interface GAMS with MATLAB

Categories

Find more on Problem-Based Optimization Setup in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!