Purpose and prerequisites

Describes the type of model used and outlines the assumed knowledge.

IBM ILOG OPL allows you to read data from a spreadsheet). In this case, the data is said to be “external” to OPL. (As opposed to the data in an internal OPL .dat file.)

This tutorial uses a model solved by the CPLEX engine, but all the features described work in the same way with a model solved by the CP Optimizer engine.

The tutorial is a variant of the blending application. It assumes that:

  • you know how to define, instantiate, and initialize data: see Data sources in the Language Reference Manual,

  • you know how to work with projects in the IDE: see Getting Started Tutorial,

  • you are familiar with the blending application and the solving strategy as described in A blending problem in the Language User’s Manual.