Originally posted by: ChrisBr
Hi Burak,
Indeed, from a modeling point of view there isn't any difference between both formulations.
But depending on the way your model is written, the cumul-function is not built by the same process.
In a loop like the following:
forall(i in vehicle) sum(j in trip) pulse(Trip[j],demand[j]) <= capacity[i] ;
despite the fact that the cumul-function doesn't depend on "i", it is built at each iteration of the forall; this could lead to a big memory consumption.
I also noted that you are using an old version of OPL/CPOptimizer. Please try using a more recent one.
If the problem persists, please provide us your model so that we would be able to investigate from where it comes.
I hope this clarify,
Chris.
#CPOptimizer#DecisionOptimization