ILOG CPLEX 11.0 File Formats > > ILOG CPLEX File Formats > XML File Format: Serialized Models and Solutions

Concert Technology for C++ users offers a suite of classes for serializing ILOG CPLEX models (that is, instances of IloModel) and solutions (that is, instances of IloSolution) through XML. The ILOG CPLEX C++ API Reference Manual documents the XML serialization API in the group optim.concert.xml. That group includes these classes:

Note
There is a fundamental difference between writing an XML file of a model and writing an LP/MPS/SAV file of the same extracted model. If the model contains piecewise linear elements (PWL), or other nonlinear features, the XML file will represent the model as such. In contrast, the LP/MPS/SAV file will represent only the transformed model. That transformed model obscures these nonlinear features because of the automatic transformation that took place.