Prev Next cppad_ipopt_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
         cppad_ipopt\cppad_ipopt_windows.bat 
    from_directory
  5. In Visual Studio open the project file
     
    	cppad_ipopt\cppad_ipopt.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
     
    	cppad_ipopt\Release\cppad_ipopt
    
    It should generate the following output:
     
    	Ok:    cppad_ipopt_ode
    	Ok:    cppad_ipopt_simple
    	Ok:    No memory leak detected
    	All 3 tests passed.
    

Input File: cppad_ipopt/example/example_windows.bat