Originally posted by: DavidGravot
Hi
I can see in Java Api, endEval api is requiring a
IloNumToNumSegmentFunction
public IloNumExpr endEval(IloIntervalVar a
, IloNumToNumSegmentFunction f
, double absVal)
throws IloException
This function refers to piecewise linear function.
I would like to query endEval on a stepwise function, which is semi-convex as well : 0 till time 0, cost 1 in [0,time1), cost2 in [time1,time2), cost3 in [time2,time3) and cost4 from time3
Is it allowed , and if yes, how shall I create this endEval expression from this stepwise function ?
Thanks
David
#CPOptimizer#DecisionOptimization