Consider a mathematical program where Xi represents the amount produced of item i (i = 1,2,3,4), and you want the total amount produced over all four items to equal either 100, 120, 140, or 200. If you define qi as binary (0-1) variables (i = 1,2,3,4) and add the constraint q1 + q2 + q3 + q4 = 1, what other constraint do you need to add to the program?

Consider a mathematical program where Xi represents the amount produced of item i (i = 1,2,3,4), and you want the total amount produced over all four items to equal either 100, 120, 140, or 200. If you define qi as binary (0-1) variables (i = 1,2,3,4) and add the constraint q1 + q2 + q3 + q4 = 1, what other constraint do you need to add to the program?



a) 100q1 + 120q2 + 140q3 + 200q4 =560

b) X1 + X2 + X3 + X4 =560

c) X1 + X2 + X3 + X4 = 100q1 + 120q2 + 140q3 + 200q4

d) 100X1 + 120X2 + 140X3 + 200X4 = q1 + q2 + q3 + q4

e) X1 + X2 + X3 + X4 ≤ 200



Answer: c


Learn More :