Optimization with Algebraic Modelling Language and MATLAB

조회 수: 7 (최근 30일)
Hariharan Gopalakrishnan
Hariharan Gopalakrishnan 2016년 10월 5일
답변: Alan Weiss 2016년 10월 5일
Is it possible to set up a linear programming problem in MATLAB like the way it is done in AIMMS or other Algebraic Modelling Languages?
If say I want to solve Dantzig's transportation problem, then, in AIMMS I would define the constraint using sets and parameters, something like "sum(supply to New York + supply to Boston) <= capacity in Chicago", and AIMMS will create the appropriate constraint matrix and vector. But in MATLAB I have to fill in numeric values in the constraint matrix and vector. Same goes for objective function and variable bounds.
Does MATLAB have the features that AMLs have which are extremely useful for setting up large scale-able real-world optimisation problems?

답변 (1개)

Alan Weiss
Alan Weiss 2016년 10월 5일
Currently, MATLAB does not have modeling language support as a built-in feature. People certainly have created interfaces between, say, AMPL and MATLAB, but MathWorks does not currently support these interfaces. I believe that AMPL has documented their interface.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by