After solving the model by calling the method solve
, the results are accessed in the same way as in ilolpex1.cpp
, with the exception of basis information for the variables. It is important to understand that not all optimizer options compute basis information, and thus it cannot be queried in all cases. In particular, basis information is not available when the model is solved using the barrier optimizer (IloCplex::Barrier
) without crossover (parameter IloCplex::BarCrossAlg
set to IloCplex::NoAlg
).