algencan-ampl under Windows

102 views
Skip to first unread message

danieli...@gmail.com

unread,
Aug 13, 2013, 3:35:09 PM8/13/13
to tango-...@googlegroups.com
Hi,
I need to setup algencan-ampl interface to run under Windows 7 x64 system.
I´ve been trying to compile without success.

My steps:

1 - Install ampl
2 - Install cygwin, with default package
3 - In cygwin terminal, "make algencan-ampl"

The last step shows an error: 

amplwrapper.c:96:17: fatal error: asl.h: No such file or directory
compilation terminated.
make[1]: *** [amplwrapper.o] Error 1
make[1]: Leaving directory `/c/ILOG/algencan-2.4.0/sources/interfaces/ampl'
make: *** [algencan-ampl] Error 2

How can i fix this??

Ernesto G. Birgin

unread,
Aug 14, 2013, 8:06:25 AM8/14/13
to tango-...@googlegroups.com
Hi!

Thank you very much for your interest in Algencan.

Did you build the amplsolver.a library as described in the Algencan's README file?

"Obs1: It is assumed that (i) the environment variable AMPL points to
the directory where AMPL is installed and that (ii) you have
downloaded solvers.tar from the AMPL web page at Netlib
(http://netlib.sandia.gov/ampl/) and (following the instructions in
the README file) built file $(AMPL)/solvers/amplsolver.a.
(Alternatively, you can download the complete directory 'solvers' from
http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/ampl/solvers)"

Regards,
Ernesto.
Reply all
Reply to author
Forward
0 new messages