Back to SYMPHONY Home Page
 Next: Sample Applications
Up: Compiling a Custom Application
 Previous: Using the NMAKE Utility
 
- In MS Visual C++ 6.0, open the workspace 
SYMPHONY-5.0
USER
WIN32
user.dsw.
Note that there are two projects, one called symphonyLib and the other 
called user.The symphonyLib project compiles the source code, with the 
calls to the user-defined callbacks used to customize the solver, to create 
the callable library: symphonyLib.lib. The user 
project compiles those user callbacks together with the main function, links 
them with the callable library and creates the executable: user.exe.
 
- The configuration steps are exactly the same with the MSVC++ section of 
SYMPHONY. The only 
difference is that, you have the user project instead of the
symphony project. Go through the related steps of section 
5.2 to see how to configure to use 
COIN, OSI, CGL, COIN utilities, 
GMPL input, and to change the lp solver which is by default 
CLP.
 
- Once you have the proper settings for your LP solver, choose Build
user.exe from the Build menu. This should successfully 
build the executable.
 
- To test the executable, right click on the user project, go to the
Debug tab and set the program arguments to 
-F ..
sample.mps. Note that command-line switches are 
Unix-style.
 
- Now choose Execute from the build menu and you have a working branch
and bound solver! After successful compilation, you can fill in the user
callback functions as describe in SectionSYMPHONY-development.
 
 
 
 
  
 Next: Sample Applications
Up: Compiling a Custom Application
 Previous: Using the NMAKE Utility
Ted Ralphs 
2004-11-11