[Clp] GNUMath Prog
Ted Ralphs
ted at lehigh.edu
Mon Feb 7 13:06:32 EST 2011
This is not really the right mailing list for question about CBC, so
I'm cc'ing the Cbc list. All of the COIN-OR projects can read GMPL in
principle if the code is built with GLPK present. The ability to read
GMPL files is provided in the CoinUtils project through a link to
GLPK. With Cbc, if you specify the model and data files with a "%" in
between as your input file name, it will read them as GMPL, i.e.,
cbc sample.mod%sample.dat
To build cbc with GMPL support using the autotools, you would go into
the ThirdParty/Glpk directory and run the command
./get.Glpk
This will download the source for the proper version of Glpk. Then
just configure and build as usual. The Glpk source will be
auto-detected, built, and linked. We cannot distribute binaries that
include this capability because of restrictions imposed by the GPL.
Feel free to post further questions to either the Cbc list or the
CoinUtils list, as appropriate.
Cheers,
Ted
On Mon, Feb 7, 2011 at 12:10 PM, Brian Borchers <borchers at nmt.edu> wrote:
>
>>
>> Message: 1
>> Date: Mon, 7 Feb 2011 10:02:58 +0530
>> From: "ranganaths" <ranganath.s at excelindia.com>
>> Subject: [Clp] GNUMath Prog
>> To: <clp at list.coin-or.org>
>> Message-ID: <001201cbc680$192379e0$4b6a6da0$@s at excelindia.com>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> Hello,
>>
>>
>>
>> Does COIN-OR BC(CBC) accept the input model in the
>> GNUMathProg format?
>>
>>
>
> You can use glpk to convert a model from GNU Math Prog format to MPS format
> and then use the MPS file as input into the COIN-OR tools.
>
>
>
> --
> Brian Borchers borchers at nmt.edu
> Department of Mathematics http://www.nmt.edu/~borchers/
> New Mexico Tech Phone: (575) 322-2592
> Socorro, NM 87801 FAX: (575) 835-5366
>
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/clp
>
>
--
Dr. Ted Ralphs
Associate Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted
More information about the Clp
mailing list