CONOPT Solver with Pyomo

646 views
Skip to first unread message

Philip Selby

unread,
Nov 30, 2015, 9:03:20 AM11/30/15
to Pyomo Forum
Is it possible to use the CONOPT solver (http://www.conopt.com/) with Pyomo?
..and can anyone provide guidance on how to do it?

Phil

Siirola, John D

unread,
Nov 30, 2015, 9:51:36 AM11/30/15
to pyomo...@googlegroups.com

You should be able to call the version of CONOPT distributed by AMPL simply by specifying either “--solver=conopt” at the pyomo command line or “SolverFactory(‘conopt’)” within a script.

 

This assumes that

-          you have a version of CONOPT purchased from AMPL

-          the solver is on your system’s search path

 

john

--
You received this message because you are subscribed to the Google Groups "Pyomo Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyomo-forum...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

s.oz...@rug.nl

unread,
Apr 28, 2016, 11:02:36 AM4/28/16
to Pyomo Forum
Isn't it possible with the version purchased from GAMS?

Siirola, John D

unread,
Apr 28, 2016, 11:08:16 AM4/28/16
to pyomo...@googlegroups.com

Not that I am aware of.  We make use of the open-source ASL (AMPL Solver Library) interface for communicating with (nonlinear) solvers.  To my knowledge, the solvers that are distributed with GAMS are not built against the ASL, so would have no way to parse the “nl” model files that we generate.

 

I have had a Pyomo to GAMS writer on my list of fun things to do for over a year now, but just haven’t had the spare cycles to do it.  If anyone wants to take a stab at it, I’d be happy to work with them.

 

john

s.oz...@rug.nl

unread,
Apr 28, 2016, 11:20:34 AM4/28/16
to Pyomo Forum
That's a pity, no Pyomo for me for now then...
Reply all
Reply to author
Forward
0 new messages