本文介绍了GAMS与AMPL代数建模语言的比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很想从GAMS和AMPL的用户那里了解每种语言的优点和缺点.

I'd be interested in getting the opinion from users of GAMS and AMPL on what the strength and weaknesses of each these languages are.

推荐答案

在功能方面,它们几乎相同,可以表示大多数类型的优化问题.就我个人而言,我更喜欢AMPL,因为它具有直观且富有表现力的语法,并且在 book . AMPL的另一个重要优点是,尽管它是商业性的,但您可以避免供应商锁定,因为有一个开源替代方案- GNU MathProg .另一方面,GAMS拥有比AMPL更高的IDE,尽管它随着新 AMPL IDE .

In terms of functionality they are pretty much the same allowing to express most types of optimization problems. Personally, I prefer AMPL because it has intuitive and expressive syntax and it is very well documented in the book. Another important advantage of AMPL is that despite the fact that it is commercial you can avoid the vendor lock-in because there is an open source alternative - GNU MathProg. GAMS on the other hand used to have a more advanced IDE than those that existed for AMPL although it changed with the introduction of the new AMPL IDE.

您可以在AMPL和GAMS的Wikipedia文章中找到George Dantzig提出的相同运输问题的示例: AMPL GAMS .

You can find an example of the same transportation problem from George Dantzig formulated in AMPL and GAMS in their Wikipedia articles: AMPL and GAMS.

这篇关于GAMS与AMPL代数建模语言的比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 00:35