Creating a C++ application with Concert Technology

Outlines steps to create a C++ application with CPLEX.

About this task

These are the steps most applications are likely to entail.

Procedure

  1. First, create a model of your problem with the modeling facilities of Concert Technology. Modeling an optimization problem with Concert Technology offers an introduction to creating a model.
  2. When the model is ready to be solved, hand it over to CPLEX for solving. Solving the model explains how to do so. It includes a survey of the IloCplex interface for controlling the optimization. Individual controls are discussed in the chapters explaining the individual optimizers.
  3. After CPLEX solves the model, Accessing solution information, shows you how to access and interpret results from the optimization.
  4. After analyzing the results, you may want to make changes to the model and study their effect. Modifying a model explains how to make changes and how CPLEX deals with them.
  5. Handling errors, discusses the error handling and debugging support provided by Concert Technology and CPLEX.
  6. Example: optimizing the diet problem in C++ presents a complete program.

Results

Not covered in this chapter are advanced features, such as the use of goals or callbacks for querying data about an ongoing optimization and for controlling the optimization itself. Goals, callbacks, and other advanced features are discussed in Advanced programming techniques.