[Osi] Setting a time limit in OsiCpxSolverInterface

Stefan Vigerske stefan at math.hu-berlin.de
Thu Apr 3 10:34:13 EDT 2014


Hi,

Osi does not have the notion of a timelimit (strange, I agree, but there 
seem to be no hope to add such simple things). You will have to set this 
in the CPLEX object directly:

CPXsetdblparam(osicpx->getEnvironmentPtr(), CPX_PARAM_TILIM, 42.0);

Stefan

On 04/03/2014 04:15 PM, GARRAFFA MICHELE wrote:
> Dear all,
>
> I'm new to this mailing list. I am using Cplex by means of the
> OsiCpxSolverInterface.
> I did not find a way to set a time limit to the solver run, while there
> is a command for the Symphony interface.
>
> Can someone help me?
>
> Best regards,
>
> Michele
>
>
> _______________________________________________
> Osi mailing list
> Osi at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/osi
>



More information about the Osi mailing list