Max A + (1-A)
≤ 5(1-x) + x
≤ 3(1-x) + 7x
I wrote it as: L(x) = f(x) - ( - 5(1-x) + x) - ( - 3(1-x) + 7x) - (x-1) - (x-10)
Can I write last constraint as partioned into and . Is there some other way to introduce such box constraints into the same problem?