Annotating Models in the CPLEX Callable Library (C API)

These routines and macros are available in the CPLEX Callable Library (C API) for you to annotate your model. An annotation associates an ordered pair of key and value with an object in your model. You can use these annotations, for example, to specify blocks in a Benders decomposition of your model.

For routines that annotate a model in an application of the remote object, see also Remote Object (annotations) in the CPLEX Callable Library (C API)

Multiobjective optimization and model annotation are currently not compatible. When the objective is annotated in an annotation file or via the annotation API, using CPX_ANNOTATIONOBJ_OBJ as the type of the object to be annotated, then the primary objective is annotated. At that moment there is then no way to annotate the other objectives.