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