Originally posted by: SystemAdmin
[ArushGadkar said:]
Hello All,
I have a variable binary vector lets say U[5]. I have a variable integer vector lets say S[5]. The constraint i am trying to formulate is as follows:
sum over all j ----> U[j]*S[j] <= C (some fixed integer) .<br />
Example if U[5] = [ 1, 1, 0 , 0, 1] then i want to formulate the constraint S[1] + S[2] + S[5] <= C.<br />
Your help is very much appreciated.
Thanks
Arush.
#CPLEXOptimizers#DecisionOptimization