Calling GAMS from MATLAB to optimize a MILP

6 visualizaciones (últimos 30 días)
Azam Boskabadi
Azam Boskabadi el 6 de Feb. de 2020
Respondida: Harsha Priya Daggubati el 9 de Abr. de 2020
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

Respuestas (1)

Harsha Priya Daggubati
Harsha Priya Daggubati el 9 de Abr. de 2020
Hi,
You can refer to the following link, to help you interface GAMS with MATLAB

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by