Constraint progrraming in IBM CPLEX ILOG:
The code for the following Cumulative(Zi|i ∈ I, Resiv, ARv) ∀v ∈ V
I wrote in IBM CPLEX. However I got error for the pulse part. Can you help me guys.
forall(v in Resources) {
cumulative(i in Jobs) pulse(Zi[i], resourceNeed[i][v]) <= resourceAvail[v];
}
Getting a proper proposition
In order to compute the cumulative, use "sum"
works fine