Creates and returns an instance of IObjective,
representing an objective to maximize the expression expr,
assigned the name name, and added to the invoking model.
Namespace: ILOG.Concert
Assembly: ILOG.Concert (in ILOG.Concert.dll)
Syntax
| C# |
|---|
IObjective AddMaximize( INumExpr expr, string name ) |
| Visual Basic |
|---|
Function AddMaximize ( _ expr As INumExpr, _ name As String _ ) As IObjective |
Parameters
- expr
- Type: ILOG.Concert..::..INumExpr
Expression to maximize.
- name
- Type: System..::..String
Name assigned to the new IObjective object.