ILOG CPLEX 11.0 User's Manual > Discrete Optimization > Using Piecewise Linear Functions in Optimization: a Transport Example > Solving the Problem |
Solving the Problem |
INDEX PREVIOUS NEXT |
The following lines create an algorithm (an instance of IloCplex
) in an environment (an instance of IloEnv
) and extract the model (an instance of IloModel
) for that algorithm to find a solution.
IloCplex cplex(env); cplex.extract(model); cplex.exportModel("transport.lp"); cplex.solve(); |
Copyright © 1987-2007 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |