More on coin-or/Osi (Cplex, Xpress, Cbc, …)…

Idol can be linked with the coin-or/Osi library (Open Solver Interface) to use any solver having an osi interface.

Hint

At the moment, only Cplex has been properly tested and can be used as follows.

model.use(OsiCplex());

Hint

Note that Osi can also be used with any Osi object by directly passing the interface as an argument.

model.use(Osi(OsiCpxSolverInterface())); // same as: model.use(OsiCplex());

Warning

Though idol has dedicated optimizers for Symphony, Cbc and Clp, it seems that the osi interface for these solvers do not fully fulfill the interface requirement to have a stable usage.

Doxygen

Warning

doxygenclass: Cannot find class “idol::Osi” in doxygen xml output for project “idol” from directory: _build/xml/