User Tools

Site Tools


Sidebar


Wiki

Info / Resources

Guides

Software

Sample Pages

Quick Navigation

software:cplex

This is an old revision of the document!


Table of Contents

CPLEX

IBM CPLEX is an optimization package offered by IBM Software.

C++ API

Saving Models

CPLEX can save the model by using the CPLEX environment as follows:

save.cpp
baseModel = new IloModel(env);
IloCplex cplex(*baseModel);
// Stuff
cplex.exportModel("prob.mps");

Based on the extension, CPLEX can also save with .lp and .sav format.

software/cplex.1446046296.txt.gz · Last modified: 1998/12/03 12:11 (external edit)