Annotations for C++ API users
CPLEX supports annotations for Benders decomposition in the C++ API.
In the C++ API, CPLEX offers features to support annotation of your model. These classes support annotations:
- IloCplex::NumAnnotation
- IloCplex::LongAnnotation
These methods of IloCplex support annotations:
- delAnnotation
- findLongAnnotation
- findNumAnnotation
- getAnnotation
- getDefaultValue
- getName
- hasLongAnnotation
- hasNumAnnotation
- newLongAnnotation
- newNumAnnotation
- numLongAnnotations
- numNumAnnotations
- readAnnotations
- setAnnotation
- writeBendersAnnotation
- writeBendersAnnotations
Tip: If you load an annotation file for a problem that contains indicator constraints, CPLEX resets any annotation for an indicator constraint to the default value of that annotation.