[Symphony] Symphony error in reading AMPL files

Ted Ralphs ted at lehigh.edu
Tue May 13 10:56:07 EDT 2014


Can you try with a more recent version (5.5)?

Cheers,

Ted


On Tue, May 6, 2014 at 6:15 AM, Arun Yadav <arun2125 at gmail.com> wrote:

> Hi Ted,
> As instructed in the manual I ran the get.glpk script and then configured
> and installed Symphony. It still gives me the following error when trying
> to read gmpl input file,
>
> ==  Welcome to the SYMPHONY MILP Solver
> ==  Copyright 2000-2011 Ted Ralphs and others
> ==  All Rights Reserved.
> ==  Distributed under the Eclipse Public License 1.0
> ==  Version: 5.4.0
> ==  Build Date: Apr 29 2014
> ==  Revision Number: 2161
>
> Reading input file...
>
> ERROR: SYMPHONY can only read GMPL/AMPL files if GLPK is
> installed and the USE_GLPMPL compiler define is set.
> Exiting.
>
>
> Fatal errors encountered. Exiting with code -120.
> See sym_return_values.h for meaning of code.
>
> Regards,
> ​Arun Yadav​
>
>
> On Tue, May 6, 2014 at 2:11 AM, Ted Ralphs <ted at lehigh.edu> wrote:
>
>>
>>
>>
>> On Fri, May 2, 2014 at 3:43 AM, Arun Yadav <arun2125 at gmail.com> wrote:
>>
>>> Hi,
>>> I have installed Symphony in CYGWIN on a Windows 7 PC. But I'm not able
>>> to read ampl files in Symphony. I get the following error,
>>>
>>> ERROR: SYMPHONY can only read GMPL/AMPL files if GLPK is
>>> installed and the USE_GLPMPL compiler define is set.
>>> Exiting.
>>>
>>> I searched for this error and reached following page,
>>>
>>> https://projects.coin-or.org/SYMPHONY/ticket/110#no1
>>>
>>> But on trying to run the following command,
>>>
>>> make In file included from ../include/sym_cg.h:22,
>>>
>>> from ../include/sym_tm.h:24,
>>> from ../include/sym_master.h:27,
>>>
>>> from Master/master_wrapper.c:28:
>>>
>>>
>>> I get the following error,
>>> make: *** No rule to make target 'In'.  Stop.
>>>
>>>
>> The command is just "make". The part that follow after is just the output
>> of the command, which happened to be an error message beginning "In file
>> included...". There was a carriage return character left out.
>>
>> The instructions for building the code in CYGWIN are here:
>>
>> http://www.coin-or.org/SYMPHONY/man-5.5/node19.html
>>
>> You should pay particular attention to the part about building with GMPL,
>> as it's different than what is indicated on the ticket you referenced.
>>
>> Cheers,
>>
>> Ted
>> --
>> Dr. Ted Ralphs
>> Associate Professor, Lehigh University
>> (610) 628-1280
>> ted 'at' lehigh 'dot' edu
>> coral.ie.lehigh.edu/~ted
>>
>
>


-- 
Dr. Ted Ralphs
Associate Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20140513/010a7461/attachment.html>


More information about the Symphony mailing list