Building with the MSVC++ Graphical Interface
These instructions are for MSVC++ Version 6. Instructions for other versions
should be similar.
- Go to
Win32
v6 directory and open the workspace
symphony.dsw.
- 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 workspace
- Make sure that the project
symphony is set as the active
project from the Project/Set Active menu. Choose
Build symphony.exe from the Build menu. This should successfully
build the SYMPHONY library and the corresponding executable.
- To test the executable, right click on the symphony project, go to the
Debug tab and set the program arguments to
-F ..\..\SYMPHONY\Datasets\sample.mps
Note that command-line switches are Unix-style. If you want to use the
interactive optimizer, leave this tab empty.
4. Now choose
Execute from the Build menu and the solver should
solve the given sample problem. If you have not specified the sample problem,
then the interactive optimizer should start. In this case,
type
help or
? to see a list of available commands
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.
Ted Ralphs
2006-11-07