Prev Next ipopt_cppad_windows

Linking the CppAD Interface to Ipopt in Visual Studio 9.0

Purpose
In the special case where you are using Visual Studio 9.0, you do not need to build Ipopt. You can instead follow these instructions to install the Coin binary distribution for the Ipopt libraries (where Visual Studio can find them).
  1. Download the binary file below which contains a build of all most of the Coin-Or projects as of 2008-09-28 CoinAll-1.2-VisualStudio.zip
  2. Choose a directory and unzip the file CoinAll-1.2-VisualStudio.zip in that directory. We refer to this as the from_directory below.
  3. Open a Dos shell window and change into your CppAD distribution directory; e.g., if you install from a tarball, this will be cppad-yyyymmdd where yyyymmdd is the year, month, and date corresponding to your version of CppAD.
  4. Execute the dos command
         ipopt_cppad\ipopt_cppad_windows.bat 
    from_directory
  5. In Visual Studio open the project file
     
    	ipopt_cppad\ipopt_cppad.sln
    
    and build the Release version of the project (the Debug version is not supported by the CoinAll binary).
  6. In the Dos shell window, execute the command
     
    	ipopt_cppad\Release\ipopt_cppad
    
    It should generate the following output:
     
    	Ok:    ipopt_cppad_ode
    	Ok:    ipopt_cppad_simple
    	Ok:    No memory leak detected
    	All 3 tests passed.
    

Input File: ipopt_cppad/ipopt_cppad_windows.bat