next up previous contents
Next: Cplex Up: Other third-Party Software Previous: Other third-Party Software   Contents

AMPL

The OS library contains a class, OSnl2osil (see Section (7.3.2) ) and OSAmplClient (see Section (12.1) ) that require the use of the AMPL ASL library. See http://netlib.sandia.gov/ampl/ and http://www.ampl.com. Users with a Unix system should locate the ASL folder that is part of the distribution. The ASL folder is in the ThirdParty folder which is in the project root folder. Locate and execute the get.ASL script. Do this prior to running the configure script. The configure script will build the correct ASL library.

Microsoft Visual Studio users will have to build the ASL library separately and then link it with the OS lib in the OS project file. The necessary source files are at

http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/ampl/solvers
After unpacking the distribution build the source code with the utility nmake which should be part of the Visual Studio distribution. The appropriate command is
nmake -f makefile.vc
If the OS project is properly configured with the ASL library, configFos.h will contain the lines
/* If defined, the Ampl Solver Library is available. */
#define COIN_HAS_ASL 1

At this point the reader may wish to view

https://projects.coin-or.org/BuildTools/wiki/user-configure#CommandLineArgumentsforconfigure
for more information on command line arguments that are illustrated in the subsections below.


next up previous contents
Next: Cplex Up: Other third-Party Software Previous: Other third-Party Software   Contents
Kipp Martin 2008-01-16