This interface defines the API for objectives.
For a list of all members of this type, see IObjective Members.
An objective function is defined by an objective expression and an optimization sense. The objective sense is represented by ObjectiveSense
objects and can be ObjectiveSense.Minimize
or ObjectiveSense.Maximize
.
Both the objective sense and expression can be queried and reset. In addition to this, the CPLEX class IloMPModeler
provides methods for manipulating linear objective expressions through its methods setLinearCoef()
and setLinearCoefs()
. IloMPModeler
is available to users of ILOG CPLEX.
Namespace: ILOG.Concert
Assembly: ILOG.Concert (in ILOG.Concert.dll)