Decision Optimization

Decision Optimization

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

 View Only

Change in IloNumToNumStepFunction between 20.1 and 22.1 ?

  • 1.  Change in IloNumToNumStepFunction between 20.1 and 22.1 ?

    Posted 15 hours ago

    Hello

    From the declaration code 

    IloNumToNumStepFunction breakStepFunction = createNumToNumStepFunction(cp, start, end, 1);

    and then query

    double breakMin = breakFunction.getDefinitionIntervalMin();//equals to 'start' in 20.1, -IloInfinity in 22.1
    double breakMax = breakFunction.getDefinitionIntervalMax();//equals to 'end' in 20.1, IloInfinity in 22.1

    was returning original start and end in 20.1 but [-IloInfinity, IloInfinity] in 22.1

    Is there any reason why the behavior changed ? And what is the alternative if we want to query the 'the left (or right)-most point of the definition interval of the invoking step function.' as the javadoc defined these apis ?

    Thanks

    David



    ------------------------------
    David Gravot
    ------------------------------