Differences between OPL and AMPL

549 views
Skip to first unread message

Alessandro Oscar Gilardino Arias

unread,
Oct 26, 2015, 8:19:41 PM10/26/15
to AMPL Modeling Language
Dear Bob and Victor,

I would like to make a question, I know that OPL y the programming language of CPLEX and that AMPL also interacts with CPLEX, is there any difference in the efficiency between this both languages.

Is there any difference between the solving time if I use CPLEX with OPL or with AMPL??


Thanks a lot in advance

Robert Fourer

unread,
Oct 27, 2015, 10:18:31 AM10/27/15
to am...@googlegroups.com
The CPLEX solver is the same code whether called from OPL or AMPL. So any differences that you see in running time will be due to differences in the modeling language processing time rather than the solving time. The timing for any modeling language depends on the particular model and data, but in general we believe AMPL compares very favorably with OPL in processing speed. (Also AMPL supports many solvers in addition to CPLEX.)

Bob Fourer
am...@googlegroups.com

=======

Alessandro Oscar Gilardino Arias

unread,
Oct 27, 2015, 10:58:19 AM10/27/15
to am...@googlegroups.com
Thanks a lot for your answer Bob

Alessandro Gilardino Arias
Ingeniero Industrial
Pontificia Universidad Catolica del Peru

--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at http://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.

Alessandro Oscar Gilardino Arias

unread,
Oct 27, 2015, 11:05:52 AM10/27/15
to am...@googlegroups.com
Bob, also I would like to make you another question, I think that every solver was designed for a special type of problem, like LP, MILP, QP, and that AMPL connect with several solvers, is there anywhere I kind find for which type of problem was designed an specific solver?

As an example (and I don't know if I am right) MINOS was designed specially for non-integer linear problems, CPLEX for robust MILP.

Thanks

Alessandro Gilardino Arias
Ingeniero Industrial
Pontificia Universidad Catolica del Peru

2015-10-27 9:17 GMT-05:00 Robert Fourer <4...@ampl.com>:

Robert Fourer

unread,
Oct 28, 2015, 11:51:18 AM10/28/15
to am...@googlegroups.com
The solver descriptions on our website, for example at

http://ampl.com/products/solvers/solvers-we-sell/minos/
http://ampl.com/products/solvers/solvers-we-sell/cplex/

indicate the problem types for which the different solvers are appropriate. Links to descriptions of all the solvers we sell are provided at http://ampl.com/products/solvers/solvers-we-sell/, and descriptions of open-source solvers are given at http://ampl.com/products/solvers/open-source/.

Alessandro Oscar Gilardino Arias

unread,
Oct 28, 2015, 12:06:45 PM10/28/15
to am...@googlegroups.com
Thanks for your answer Bob

Alessandro Gilardino Arias
Ingeniero Industrial
Pontificia Universidad Catolica del Peru

Reply all
Reply to author
Forward
0 new messages