Creates and returns an empty maximization objective function.
Namespace: ILOG.Concert
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
IObjective Maximize( string name ) |
| Visual Basic |
|---|
Function Maximize ( _ name As String _ ) As IObjective |
Parameters
- name
- Type: System..::..String
The name assigned to the new objective.
Return Value
The new zero maximization objective.
Remarks
This method creates an IObjective object representing a
maximization objective function with a zero expression. The new
IObjective object is assigned name
as its name. This method is typically used in an application that
applies column-wise modeling
to fill in the objective function while creating the variables.