Creates and returns a named objective function
and adds it to the invoking model.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public virtual IObjective AddMinimize( string name ) |
| Visual Basic |
|---|
Public Overridable Function AddMinimize ( _ name As String _ ) As IObjective |
Parameters
- name
- Type: System..::..String
Implements
IMPModeler..::..AddMinimize(String)
Remarks
Do not use this method in a callback to modify the model currently being optimized.