-------------------------------------------
Original Message:
Sent: Tue September 02, 2025 04:09 AM
From: David Gravot
Subject: Change in IloNumToNumStepFunction between 20.1 and 22.1 ?
IloNumToNumStepFunction fun = cp.createNumToNumStepFunction();
fun.setValue(1394812800000, 50544000000, 0.0)
------------------------------
David Gravot
Original Message:
Sent: Mon September 01, 2025 04:46 AM
From: Olivier Binckly
Subject: Change in IloNumToNumStepFunction between 20.1 and 22.1 ?
Hello David,
I don't see any related bug report, or update notification for example in the release notes.
Could you open a support case for further investigation?
Or can you share here a small reproducible sample?
Thanks in advance.
Olivier (IBM Support)
------------------------------
Olivier Binckly
Original Message:
Sent: Fri August 29, 2025 07:42 AM
From: David Gravot
Subject: Change in IloNumToNumStepFunction between 20.1 and 22.1 ?
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
------------------------------