Building with the MSVC++ Graphical Interface
These instructions are for MSVC++ Version 8. Instructions for other versions
should be similar.
- Go to
MSVisualStudio
v10 directory and open the solution file
symphony.sln.
- Note that there are a number of additional preprocessor definitions that
control the functionality of SYMPHONY. These definitions are described in
sym.mak, a Unix-style makefile included in the distribution. To
enable the functionality associated with a particular definition, simply add
it to the list of definitions of
libSymphony project together with
the required libraries and paths. For instance, if you
want to enable GMPL reader option, you need to
- add the directory of the header files of GLPK to the include
files path
- add
USE_GLPMPL to the defines
- add the GLPK library to the solution
- Make sure that the project
symphony is set as the startup project
by choosing
Set as Startup Project from the
Project menu after
selecting the
symphony project in the Solution Explorer. Choose
Build Solution from the Build menu. This should successfully build
the SYMPHONY library and the corresponding executable.
- To test the executable, go to the
Debug tab and choose
Start Without Debugging. 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.
Note that there is some functionality missing from the Windows version. Most
prominently, the timing functions do not work. In addition, the Windows
version will only run in sequential mode for a variety of reasons. However, it
should be relatively easy to get it running in parallel if you can get PVM
working under Windows.