Originally posted by: Avri
Hi,
I am trying to use the following expression:
dvar int rd
t in lots ;
dexpr int w
t in lots = (startOf(task[t]) - rd[t] < QT) ? 1 : 10;**
in the obtained solution the value of w[t] is always 1, that is (startOf(task[t]) - rd[t] < QT) is always true regardless of the values startOf(task[t]) and rd[t] are getting.
What am I doying wrong ?
Thanks,
Avri
#DecisionOptimization#OPLusingCPOptimizer