Creates and returns an empty maximization objective function.
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 IModel. This method
is typically used in an application that applies column-wise modeling to
fill in the objective function while creating the variables.
Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
IObjective AddMaximize( string name ) |
Parameters
- name
- Type: System..::..String
The name assigned to the new objective.