Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Set the maximum search time

    Posted 01/07/13 08:21 AM

    Originally posted by: SystemAdmin


    Hi All,

    I am using Java interface. Is there any function that I can use to ask CPLEX to search a problem space for at most 10 seconds? After that 10 seconds, it can give me a feasible solution or tell me that it can not find it.

    Thanks
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Set the maximum search time

    Posted 01/07/13 08:40 AM

    Originally posted by: SystemAdmin


    I have found the parameters to set it.

    cplex.setParam(IloCplex.DoubleParam.TiLim, x);

    x is the maximal time in second.

    Can anyone recommend a good introduction book about using Java interface of CPLEX?
    #DecisionOptimization
    #OPLusingCPLEXOptimizer