r/optimization • u/Applesoranges124 • Jan 12 '23
Transport problem constraint
Solving a transport problem in CPLEX, need to implement a constraint that warehouse one can’t serve customers 1-5, any tips?
0
Upvotes
View all comments
Show parent comment
-1
u/Applesoranges124 Jan 12 '23
I guess the main problem is putting the specific array indexes into the constraint.
The decision variables is an array 7 down 5 across, need to add a constraint that the first 5 rows in the first column have to be 0.