[Coin-symphony] symphony on ubuntu misses glpk libraries
Ted Ralphs
ted at lehigh.edu
Tue Jan 15 16:44:01 EST 2008
The easiest way to hook GMPL to SYMPHONY is to do the following
cd SYMPHONY-5.1.7/ThirdParty/Glpk
./get.Glpk
cd ../..
./configure
make
This will automatically download and build the correct version of Glpk
and configure it to hook into SYMPHONY. If you want to hook in an
already-installed version of GLPK, you have to configure with
./configure --with-glpk-incdir=? --with-glpk-lib=? --with-gmpl
Did you configure with these options? I would recommend the first procedure.
Cheers,
Ted
Ryan O'Neil wrote:
> Hello,
>
> I'm trying to build and run symphony on an x86 box running Ubuntu
> Gutsy with glpk and libglpk-dev packages installed. I followed the
> standard configure; make; make install but for some reason it doesn't
> seem to recognize that I have glpk available for reading AMPL files.
>
> One thing I notice is that -DUSE_GLPMPL is commented out in the
> Makefile with a FIXME note, which is what I think makes it use glpk.
> This flag allows sym_lp_solver.h to include glmpl.h, but libglpk-dev
> only provides glpk.h. Has anyone run into this before or am I just
> misreading and lacking the proper library?
>
> Thanks,
--
Dr. Ted Ralphs
Associate Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
ted at lehigh dot edu
coral.ie.lehigh.edu/~ted
More information about the Symphony
mailing list