[Coin-discuss] SYMPHONY AMPL ERROR
Ted Ralphs
tkralphs at lehigh.edu
Thu Jun 1 10:31:45 EDT 2006
The errors below look like they come from not linking libgz. I'm not
sure what you mean by "linking your Java model to SYMPHONY." Do you mean
calling SYMPHONY from a Java program? This should be possible, but I'm
not a Java programmer, so I'm not sure. If you post more details, maybe
someone else will be able to answer.
Cheers,
Ted
Cezik, Tolga wrote:
>
> Thank you Ted for the information. I linked the Volume Algorithm to SYMPHONY. It's OK now. Without taking too much of your time, could you give me a hint on this error too?
>
> ../../lib/libCoin.so: undefined reference to `gzopen'
> ../../lib/libCoin.so: undefined reference to `dgetrs_'
> ../../lib/libCoin.so: undefined reference to `gzread'
> ../../lib/libCoin.so: undefined reference to `gzclose'
> ../../lib/libCoin.so: undefined reference to `dgetrf_'
> ../../lib/libCoin.so: undefined reference to `gzwrite'
>
> And, now that I can't plug in my AMPL code into SYMPHONY yet, is there a way to link my Java model file with SYMPHONY?
>
> Cheers!
> --tolga
>
>
>
>
>
>
> -----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: Wednesday, May 31, 2006 7:40 PM
> To: Discussions about open source software for Operations Research
> Subject: Re: [Coin-discuss] SYMPHONY AMPL ERROR
>
> I'm not sure about your compilation problem. It looks like it is because the way you compiled Clp, it is expecting to be linked to the Volume Algorithm library, but this library is not linked by SYMPHONY. I guess you must have changed some settings somewhere when compiling. A fresh checkout of the SYMPHONY module from CVS should compile out of the box.
>
> As for your AMPL problem, SYMPHONY does not work with AMPL at present. I believe there is an AMPL driver under development that will work with SYMPHONY through the Osi, but it is not available yet. SYMPHONY does read GMPL, which is a subset of AMPL and is provided by GLPK (you need to have GLPK installed for this). Another option would be to use ZIMPL, an open-source modeling language like AMPL that can be connected to solvers through MPS files. You could also try FLOPC++. Good luck.
>
> Cheers,
>
> Ted
>
> Cezik, Tolga wrote:
>> Hi,
>>
>> I tried to get around the AMPL problem mentioned in my previous email (below) by re-compiling SYMPHONY. However, now I am getting the following errors:
>>
>> ---------------------------
>> Compiling main.c
>>
>> Linking symphony ...
>> /home/mehmetc/COIN/lib/libClp.so: undefined reference to `VOL_problem::solve(VOL_user_hooks&, bool)'
>> /home/mehmetc/COIN/lib/libClp.so: undefined reference to `VOL_problem::VOL_problem()'
>> /home/mehmetc/COIN/lib/libClp.so: undefined reference to `VOL_problem::~VOL_problem()'
>> collect2: ld returned 1 exit status
>> make_real[1]: ***
>> [/home/mehmetc/COIN/SYMPHONY/bin/LINUX/OSI_CLP/symphony] Error 1
>> make_real: *** [all] Error 2
>> ------------------------------
>>
>> Could you offer any help please? I got all available COIN packages
>> working except the one I really need, i.e SYMPHONY :-))
>>
>>
>> Thank you,
>>
>> M. T. Cezik
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Cezik, Tolga
>> Sent: Wednesday, May 31, 2006 5:59 PM
>> To: 'Discussions about open source software for Operations Research'
>> Subject: RE: [Coin-discuss] SYMPHONY AMPL ERROR
>>
>>
>> Hi,
>>
>> I'm trying to solve an AMPL model using SYMPHONY. However I am getting the error:
>>
>> ------------------------
>> SYMPHONY was called with the following arguments:
>> symphony /tmp/at5647
>> -AMPL
>>
>> Coin6004E EOF on file
>>
>> Errors in reading mps file
>> error running symphony:
>> termination code 139; core file written <BREAK>
>> -------------------------------
>>
>> I enter the line "option solver symphony" to my .run script that runs my .mod file and reads my .dat file. This works very smoothly when I use COIN/Cbc!!! I'm a little surprised considering that I've set SYMPHONY to use Clp as well...By the way I've set the GMPL flag ON when I was compiling, and I built GLPK too. What could be the problem?
>>
>> Thank you,
>>
>> M. T. Cezik
>>
>> _______________________________________________
>> Coin-discuss mailing list
>> Coin-discuss at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
>
> --
> Dr. Ted Ralphs
> Assistant 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
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
--
Dr. Ted Ralphs
Assistant Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
tkralphs at lehigh.edu
www.lehigh.edu/~tkr2
More information about the Coin-discuss
mailing list