Writing Files in the CPLEX Callable Library (C API)

These routines enable your application to write to system files.

After your create a model in CPLEX, these routines can write the model to a file. After CPLEX solves a problem, these routines can write the optimal basis or a solution report to a file.

For similar routines adapted to network flow problems, see Writing Files for Network Flow Programs in the CPLEX Callable Library (C API).

CPLEX can write problem files in a variety of formats. For more information about these file formats, see the reference manual File formats supported by CPLEX.