Originally posted by: AdamGregory
Hi Everyone,
I'm looking for a way to determine which optional intervals are present in a solution and minimize this value.
As far as I can tell both interval.isPresent() and model.isPresent(interval) do not seem to do what I intend.
How can I write a constraint to minimize the number of optional intervals from a given array that appear in the final solution?
Thank you,
Adam
#CPOptimizer#DecisionOptimization