ILOG CPLEX .NET Reference Manual

IMPModeler.AddMaximize Method (String)

Creates and returns an empty maximization objective function with the specified name and adds it to the invoking model.

IObjective AddMaximize(
   string name
);

Parameters

name
The name assigned to the new objective.

Return Value

The new zero maximization objective.

Remarks

This method creates and returns an IObjective object representing a maximization objective function with a zero expression. The new IObjective object is assigned name as its name and added to the invoking model. This method is typically used in an application that applies column-wise modeling to fill in the objective function while creating the variables.

See Also

IMPModeler Interface | ILOG.Concert Namespace | IMPModeler.AddMaximize Overload List