ILOG CPLEX 11.0 User's Manual > Discrete Optimization > Solution Pool: Generating and Keeping Multiple Solutions > Using Solutions from the Solution Pool |
Using Solutions from the Solution Pool |
INDEX PREVIOUS NEXT |
The solutions in the solution pool are available for use in applications or further optimizations. For example, you can write a particular solution from the solution pool to a solution file in SOL format.
IloCplex::writeSolution.
IloCplex.writeSolution.
Cplex.WriteSolution.
CPXsolwritesolnpool
.
write
filename.sol
i
You can also write all the solutions from the solution pool into a single SOL file.
IloCplex::writeSolutions.
IloCplex.writeSolutions.
Cplex.WriteSolutions.
CPXsolwritesolnpoolall
.
write
filename.sol all
You can write a particular solution to a MIP start file in MST format.
IloCplex::writeMIPStart
.
IloCplex.writeMIPStart
.
Cplex.WriteMIPStart
.
CPXmstwritesolnpool.
write
filename.mst
i
You can also write all the solutions from the solution pool plus the incumbent to a single MIP start file.
IloCplex::writeMIPStarts
.
IloCplex.writeMIPStarts
.
Cplex.WriteMIPStarts.
CPXmstwritesolnpoolall
write
filename.mst all
Similarly, you can use a solution from the solution pool to change the fixed problem of your MIP model. Only these two types are supported for this change:
IloCplex::solveFixed
.
IloCplex.solveFixed
.
Cplex.SolveFixed
.
CPXchgprobtypesolnpool
.
i
in the pool: change problem fixed i
Copyright © 1987-2007 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |