12.07.2015 Views

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Solving the ProblemThe following lines create an algorithm (an instance of IloCplex) in an environment (aninstance of IloEnv) and extract the model (an instance of IloModel) for that algorithm tofind a solution.IloCplex cplex(env);cplex.extract(model);cplex.exportModel("transport.lp");cplex.solve();Displaying a SolutionTo display the solution, use the methods of IloEnv and IloCplex.env.out()

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!