Hi, I'm trying to formulate a production planning model on days based. There are 9 different products and the production is continuous, i.e. there is no option like not producing. Each day there can only be produced 1 kind of product and once a type of product is set its going to be produced for some number of days.
For example, if product 1 is decided to be produced it should be produced for min of 3 days before a change of product. Notice that there can only be produced 1 kind of product in a day, there is only one production line.
x1=0 days or x1=>3 days (for a certain planning horizon for product 1) same setup goes for all 9 kind of products with different min day numbers.
How can I implement this above statement to Excel solver?
I tried defining one other binary variable y for each product stating if the corresponding product is produced or not within the planning horizon and 1000(a big number)*y1=>x1 if x is going to be greater than 0, so will y. Then I put an if statement instead of x1 in this formula " x1=>3" =IF(y=>0; X1; 500) 500 is to make sure the constraint is not binding. It didn't give a feasable solution. It chooses not to produce anything though there is a constraint making sure it produces everyday.
Thanks in advance!
Bookmarks