Optimization with Algebraic Modelling Language and MATLAB
이전 댓글 표시
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
2016년 10월 5일
0 개 추천
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
카테고리
도움말 센터 및 File 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!