User Tools

Site Tools


Sidebar


Wiki

Info / Resources

Guides

Software

Sample Pages

Quick Navigation

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.

cplex.1411737416.txt.gz ยท Last modified: 1998/12/03 12:11 (external edit)