12.07.2015 Views

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

With that model, now the application is ready to create an algorithm (in this case, an instanceof IloCplex) and extract the model.Solving the ProblemTo solve the problem, create the algorithm, extract the model, and solve.Ending the ApplicationAs in all C++ <strong>CPLEX</strong> applications, this program ends with a call to IloEnv::end tode-allocate the model and algorithm after they are no longer in use.env.end();Complete ProgramYou can see the entire program online in the standard distribution of <strong>ILOG</strong> <strong>CPLEX</strong> atyour<strong>CPLEX</strong>installation/examples/src/rates.cpp. To run that example, you needa license for <strong>ILOG</strong> <strong>CPLEX</strong>.You will also find Rates.java in your<strong>CPLEX</strong>installation/examples/src/. If yourinstallation includes the .NET API of <strong>ILOG</strong> <strong>CPLEX</strong>, then you will also find the C#.NETimplementation of this example in Rates.cs and the VB.NET implmentation inRates.vb.336 <strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!