CPLEX file-writing routines and methods write a problem object or, after the problem has been optimized, the optimal basis or solution report to a file.
Note: Names of classes, methods, and symbolic constants in the .NET API correspond very closely to those in the Java API with these systematic exceptions:
Ilo
, whereas in .NET they do not.
addCols
,
whereas in the .NET API, the names of methods conventionally
begin with an uppercase (that is, capital) letter, for example,
AddCols
according to Microsoft practice.
Purpose |
Java API |
C++ API |
C API |
---|---|---|---|
Writes a problem file in any format |
IloCplex.exportModel |
IloCplex::exportModel |
|
Writes a BAS basis file |
IloCplex.writeBasis |
IloCplex::writeBasis |
|
Writes a solution file |
IloCplex.writeSolution |
IloCplex::writeSolution |
|
Writes an ORD priority order file |
IloCplex.writeOrder |
IloCplex::writeOrder |
|
Writes a MIP start values file |
IloCplex.writeMIPStart |
IloCplex::writeMIPStart |
|
Writes a file for a MIP start from the solution pool |
IloCplex.writeMIPStart |
IloCplex::writeMIPStart |
and |
Writes an embedded network in MPS format |
---- |
---- |
|
Writes the primal-perturbed version of the problem |
---- |
---- |
|
Writes the dual-perturbed version of the problem |
---- |
---- |
|
Writes the presolved problem in binary format |
---- |
---- |
|
Writes the dual problem in MPS format |
---- |
---- |
|
Writes nondefault CPLEX parameter settings to a file in PRM format for reuse later |
IloCplex.writeParam |
IloCplex::writeParam |
|
Writes a conflict in LP format |
IloCplex.writeConflict |
IloCplex::writeConflict |
|
Writes an FLT formatted file of filters for the solution pool |
IloCplex.writeFilters |
IloCplex::writeFilters |
|
Writes a solution from the solution pool to a file formatted in XML |
IloCplex.writeSolution |
IloCplex::writeSolution |
|
Writes all solutions from the solution pool to a file formatted in XML |
IloCplex.writeSolutions |
IloCplex::writeSolutions |