[Coin-discuss] SYMPHONY AMPL ERROR
Ted Ralphs
tkralphs at lehigh.edu
Wed May 31 22:39:55 EDT 2006
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
More information about the Coin-discuss
mailing list