Gets the annotation value for an objective function.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public virtual double GetAnnotation( Cplex..::..DoubleAnnotation annotation, IObjective obj ) |
| Visual Basic |
|---|
Public Overridable Function GetAnnotation ( _ annotation As Cplex..::..DoubleAnnotation, _ obj As IObjective _ ) As Double |
Parameters
- annotation
- Type: ILOG.CPLEX..::..Cplex..::..DoubleAnnotation
The annotation to query.
- obj
- Type: ILOG.Concert..::..IObjective
The objective to query.
Return Value
The annotation value for obj in annotation.
Remarks
Throws NullPointerException if annotation is invalid.
Throws ILOG.Concert.Exception if an error occurs.