Creates a new annotation of type double.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public virtual Cplex..::..DoubleAnnotation NewDoubleAnnotation( string name, double defval ) |
| Visual Basic |
|---|
Public Overridable Function NewDoubleAnnotation ( _ name As String, _ defval As Double _ ) As Cplex..::..DoubleAnnotation |
Parameters
- name
- Type: System..::..String
Name of the the new annotation.
- defval
- Type: System..::..Double
Default value for the new annotation.
Remarks
Throws ILOG.Concert.Exception if the annotation could not be created.