Writes all annotations to a file.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public virtual void WriteAnnotations( string filename ) |
| Visual Basic |
|---|
Public Overridable Sub WriteAnnotations ( _ filename As String _ ) |
Parameters
- filename
- Type: System..::..String
Name of output file.
Remarks
This method writes the annotations of all types currently stored in this instance to filename.
See the topic Annotating a model for CPLEX in the CPLEX User's Manual for a sample of the header of an annotation file. See the sample UFL_25_35_1 distributed with the product for an example of an annotated model.
Throws ILOG.Concert.Exception if the file cannot be written.