[Osi] Setting parameter using OsiXpr

Stefan Vigerske stefan at math.hu-berlin.de
Tue Mar 28 06:13:36 EDT 2017


Hi,

I'm using
   XPRSsetintcontrol(si->getLpPtr(), XPRS_MAXTIME, -reslim);
to set the time limit.

Setting it to a negative number has the timelimit applied also for LP 
solves and before the first solution is found in MIP solves (that's what 
the comment in my code says - no idea whether this is still true nowadays).

Stefan


On 03/28/2017 08:46 AM, Yacine Gaoua wrote:
> Hi,
> I am searching how to set XPRESS solver using OsiXprSolverInterface.
> In CPLEX => CPXsetdblparam(si->getEnvironmentPtr(), CPX_PARAM_TILIM, optimizationTiLim); but in XPRESS i dont find the similar formulation.
> Thanks for help
>
>
>
> _______________________________________________
> Osi mailing list
> Osi at list.coin-or.org
> https://list.coin-or.org/mailman/listinfo/osi
>


-- 
http://www.gams.com/~stefan


More information about the Osi mailing list