I have the following problem!
I want to perform linear programming to maximize the Objective values (Y) with Solver for all rows 7 to 16 (total 10 times). However, I do not want use Solver 10 times. Is there any automated way to do this? For example, for the row 7, the problem can be formulated like this:
Max A7
subject to B7>=B2, C7>=B2, D7>=B2,
B7<=B3, C7<=B3, D7<=B3,
B7 + C7 + D7 = 100%
Likewise, for the row 8, the problem should be formulated like this:
Max A8
subject to B8>=B2, C8>=B2, D8>=B2,
B8<=B3, C8<=B3, D8<=B3,
B8 + C8 + D8 = 100%
As you can see, every row has the same structure of formulation but different cells. Is there any way to achieve this without using Solver like 10 times? I would very very appreciate it!!!
Thank you very much!
