Building with the NMAKE Utility
These instructions are for MSVC++ Version 6. Instructions for other versions
should be similar.
- Go to
Win32/v6 directory and edit the
sym.mak
makefile to reflect
your environment. This involves specifying the LP solver to be used,
assigning some variables and setting various paths. Only minor edits
should be required. An explanation of what has to be set is contained in the
comments in the makefile. Note that, you have to first create the COIN
libraries
Cgl,
Clp,
Osi,
OsiClp and
CoinUtils
which reside in
Win32/v6 directory.
- Once configuration is done, open a command line terminal and type
nmake /f sym.mak
This will make the SYMPHONY library
libSymphony.lib and the executable
symphony in
Debug directory. The library, together with the
header files in
SYMPHONY
include
, can then be used to call
SYMPHONY from any C/C++ code. The API for calling SYMPHONY is described in
Section 3.3.
- Test the executable by opening Windows Explorer and double-clicking
on
symphony.exe in the
Debug
subdirectory. This should open a Window in
which the interactive solver will appear. Type
help or
? to see
a list of available commands or see Chapter 3 for
instructions on using the interactive solver.
Ted Ralphs
2006-11-07