Originally posted by: sds_rohit
Hi,
I want to do something as detailed below. Please suggest how to do this. Any direction to example or help manual reference will be of great help. This constraint is propagated each time one of its variables gets instantiated.
----------------With CP optimizer-------------
The standard element(b,A,c) constraint forces the b:th variable in variable
array A to take value c, i.e. A(b) = c.
Whenever a variable A(i) is fixed to the value "t", the not yet fixed B(i) must be assigned to the
same "t".
A(i) == {t} => POST element(i,B,t)
#CPOptimizer#DecisionOptimization