Installation in Unix-like environments

The installation consists of unpacking the distribution into an appropriate installation directory, such as /usr/local/symphony. Unpack the distribution with

 tar xzvf SYMPHONY-releases.\VER-XXX.tgz
where XXX indicates the platform and the version of compiler used to build the distribution. Switch into the root directory of the unpacked distribution.

Test the executable by going to the bin directory and typing

 ./symphony
This will start up the solver in interactive mode. Type help or ? to see a list of available commands or see Chapter 3 for instructions on using the interactive solver.

To test the callable library, the distribution includes sample files in examples directory:

milp.c: This sample code is an implementation of a basic MILP solver using SYMPHONY's C callable functions with user defined input (see Section 3.3). To test the code, go to the examples directory and type

 make milp 
 milp
You may need to customize some paths in the Makefile and to set the environment variable LD_LIBRARY_PATH. milpOsi.c: This sample code is an implementation of a basic MILP solver using SYMPHONY's C++ callable functions (through OsiSym interface) with user defined input (see Section 3.3.2). To test the code, go to examples directory and type,
 make milpOsi
 milpOsi

If everything is working properly, the libraries, executables and header files can be installed in appropriate system directories if desired. This must be done by hand. This step will be done automatically if building from source using the automatic scripts provided (see below). It is important to note, though, that