[Coin-discuss] Ampl to OSI

Matthew Galati Matthew.Galati at sas.com
Fri Apr 6 12:01:48 EDT 2007


Perfect - I forgot that this existed. And - sorry, I just noticed this was same question was asked long ago:
    http://list.coin-or.org/pipermail/coin-discuss/2006-March/001894.html



-----Original Message-----
From: coin-discuss-bounces at list.coin-or.org [mailto:coin-discuss-bounces at list.coin-or.org] On Behalf Of Ted Ralphs
Sent: Friday, April 06, 2007 11:23 AM
To: Discussions about open source software for Operations Research
Subject: Re: [Coin-discuss] Ampl to OSI

There is a function readGMPL() in Osi that will read in GMPL files if you have glpk installed (and you configure with glpk linkage enabled).
GMPL is (roughly) a subset of AMPL that includes most of the modeling features, but not programming constructs like loops (these wouldn't make sense in this context anyway).

There are ways of hooking AMPL itself up to Osi and using it in the usual way to drive an Osi solver, but how to do this is a little more involved. We are hoping to make this easier at some point.

Cheers,

Ted

Matthew Galati wrote:
> I think this question has been asked before.
> 
> I've noticed that SYMPHONY now supports Ampl directly to SYMPHONY. 
> 
> "
> What modeling languages and file formats does SYMPHONY work with? 
> 	SYMPHONY will read AMPL/GMPL files using GLPKs parser, or MPS file using COIN-OR's parser. It can also use FlopC++ as a modeling interface. 
> "
> 
> Presumably this happens through OSI. This seems like a **very useful** feature. Would it be possible to make this a standard Osi or CoinUtils function? Has anyone already done this?
> 
> Thanks,
> Matt
> 
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss


--
Dr. Ted Ralphs
Associate Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
tkralphs at lehigh.edu
www.lehigh.edu/~tkr2
_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss




More information about the Coin-discuss mailing list