Solving the problem

Describes activity in the application.

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();