Back to SYMPHONY Home Page
 Next: Using the MSVC++ Workspace
Up: Compiling the Library and
 Previous: Compiling the Library and
 
Using the NMAKE Utility
- Edit the file
SYMPHONY-5.0
WIN32
sym.mak makefile to
reflect your environment. This involves specifying the LP solver to be used
and various paths. Only minor edits should be required. An explanation of what
has to be set is contained in the comments in the makefile.
 
- To use many of the new capabilities of SYMPHONY, you must have installed
the COIN optimization
libraries 
. By default SYMPHONY is 
set to use COIN LP solver, CLP, COIN Open Solver Interface, 
OSI, and COIN Cut Generation Library, CGL. To keep this 
configuration, you should install OSI, CGL, CLP 
and additionally, the Coin utilities (under COIN
Coin).The path to 
the COIN libraries must be specified in 
SYMPHONY-5.0
WIN32
sym.mak.
 
- If you wish to read GMPL/AMPL files, you will have to install the 
Gnu Linear Programming Kit (GLPK), which contains a parser for GMPL/AMPL
files. The path to the GLPK libraries must be specified in
the makefile.
 
- Once configuration is done, type nmake /f sym.mak at the
command prompt in the 
SYMPHONY-5.0
WIN32 subdirectory. 
This will first make the SYMPHONY library (sequential version): 
SYMPHONY-5.0
WIN32
Debug
symphonyLib.lib. This library together with the header files in the subdirectory
(SYMPHONY-5.0
include) can then be
be used to call SYMPHONY from any C code. The API for this is 
described in section 7.3.
After compiling the SYMPHONY library, the default main function will 
be compiled and linked with the the callable library to form an executable
called symphony.exe to be used for solving generic MILP problems 
in MPS or GMPL format. The executable will be created in the
SYMPHONY-5.0
WIN32
Debug subdirectory.
 
- To test the executable, type symphony.exe -F 
..
..
sample.mps at a command prompt in the
SYMPHONY-5.0
WIN32
Debug subdirectory.
 
 
 
 
  
 Next: Using the MSVC++ Workspace
Up: Compiling the Library and
 Previous: Compiling the Library and
Ted Ralphs 
2004-11-11