This interface defines the API for objectives.

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

Syntax

C#
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 Cplex provides methods for manipulating linear objective expressions through its methods setLinearCoef() and setLinearCoefs(). Cplex is available to users of ILOG CPLEX.

See Also