ILOG CPLEX .NET Reference Manual

IObjective Interface

This interface defines the API for objectives.

For a list of all members of this type, see IObjective Members.

public interface IObjective : IAddable, ICopyable

Remarks

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.

Requirements

Namespace: ILOG.Concert

Assembly: ILOG.Concert (in ILOG.Concert.dll)

See Also

IObjective Members | ILOG.Concert Namespace