How OPL expresses an LP problem
Describes a typical optimization problem.
An optimization problem is typically specified by an objective function and a set of constraints over some decision variables. A solution to the problem is an assignment of values to the variables that satisfies the constraints and optimizes the value of the objective function. The purpose of an OPL statement is thus to express these two components for the application at hand.
Note:
In OPL 4.0 and later, the keyword dvar is used to note decision variables in the OPL
modeling language while the keyword var is
used for IBM® ILOG® Script variables.