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