Sets the annotation value for an objective.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public virtual void SetAnnotation( Cplex..::..LongAnnotation annotation, IObjective obj, long value ) |
| Visual Basic |
|---|
Public Overridable Sub SetAnnotation ( _ annotation As Cplex..::..LongAnnotation, _ obj As IObjective, _ value As Long _ ) |
Parameters
- annotation
- Type: ILOG.CPLEX..::..Cplex..::..LongAnnotation
Annotation for which to set the value.
- obj
- Type: ILOG.Concert..::..IObjective
Objective for which to set the value.
- value
- Type: System..::..Int64
The value to set.
Remarks
Throws NullPointerException if annotation is invalid.
Throws ILOG.Concert.Exception if an error occurs.