[Osi] Pass parameters to the solver?

sguazt marco.guazzone at gmail.com
Tue Oct 16 11:41:23 EDT 2012


Hello,

I am new to OSI.

Is it possible to pass specific parameters to the underlying solver?

For instance, I would like to set the relative gap.
For instance, in CPLEX, this is achieved by setting the
IloCplex::EpGap parameter, while in Gurobi by setting the
GRB_DoubleParam_MIPGap parameter.

In OSI, I only found methods (OsiSolverInterface::) setIntParam,
setDblParam, setStrParam and SetHintParam, which however it seems that
do not allow to set such parameters.

Thank you so much.

Best,

-- Marco


More information about the Osi mailing list