Most importantly, optimization commands in the Interactive Optimizer perform exactly like optimization routines in the Component Libraries. In other words, the command primopt
works just the same way as the method IloCplex::setRootAlgorithm(IloCplex::Primal)
and the routine CPXprimopt()
; likewise, the command tranopt
works like the method IloCplex::setRootAlgorithm(IloCplex::Dual)
and the routine CPXdualopt()
; netopt
works like IloCplex::setRootAlgorithm(IloCplex::Barrier)
and CPXhybnetopt()
, and so forth. Consequently, any discrepancy between the Interactive Optimizer and the Component Libraries routines with respect to the solutions found, memory used, or time taken indicates a problem in the logic of the application calling the routines.