[Coin-discuss] SYMPHONY Example ERROR

Cezik, Tolga mehmetc at amazon.com
Thu Jun 1 17:41:30 EDT 2006


Thanks to you both. I made the change. It works now!

--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: Thursday, June 01, 2006 2:38 PM
To: Discussions about open source software for Operations Research
Subject: Re: [Coin-discuss] SYMPHONY Example ERROR

Sorry to confuse matters, Menal is correct. This is a better solution to the problem you are having.

Ted

Menal Guzelsoy wrote:
> 
> Tolga,
> 
> That is because the executable was created without the necessary flags 
> to find the shared lib at runtime. It is fixed now. If you can't 
> update the Makefile of the Examples dir right now, you can try adding 
> the lib path
> (SYMPHONY/lib) to
> the environment variable LD_LIBRARY_PATH.
> 
> Menal.
> 
> Quoting "Cezik, Tolga" <mehmetc at amazon.com>:
> 
>> Hi,
>>
>> I compiled SYMPHONY and the sample problems in Examples directory 
>> with no hassle. However, when I am running the executables in this 
>> directory, e.g. bicriteria, I get
>> ------------------------------
>> ./bicriteria: error while loading shared libraries: libsym.so: cannot 
>> open shared object file: No such file or directory
>> -------------------------------
>> although the library is residing in SYMPHONY/lib/ as indicated in the 
>> Makefile.
>>
>> Any thoughts?
>>
>> Thank you,
>> --tolga
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Cezik, Tolga
>> Sent: Wednesday, May 31, 2006 8:02 PM
>> To: 'Discussions about open source software for Operations Research'
>> Subject: RE: [Coin-discuss] SYMPHONY AMPL ERROR
>>
>>
>> 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
>>
> 
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> _______________________________________________
> 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




More information about the Coin-discuss mailing list