Homepage › Solution manuals › Dimitris Bertsimas › Introduction to Linear Optimization › Exercise 7.1 (The caterer problem)
Exercise 7.1 (The caterer problem)
A catering company must provide to a client tablecloths on each of consecutive days. The catering company can buy new tablecloths at a price of per item, or launder the used ones. Laundering can be done at a fast service that takes days and costs per item or slow service that takes days and costs per item. Note that and . The caterer’s problem is to decide how to meet the demand at minimum cost, starting with zero tablecloths and under the assumption that any leftover tablecloths have no value. Show that this problem can be formulated as a network flow problem.
Answers
Let us order the day by ; and have two nodes for each . One of the node is named and the other is names (for clean and dirty tablecloths on a day). The node has a supply of and the node has a demand of supply . We also introduce a separate source arc , we design the arcs in the network as follows:
- Each node we have an arc with a cost and capacity
- Each node receives laundry from ’fast’ via arcs if with a cost and capacity
- Each node receives laundry from ’slow’ via arcs if with a cost and capacity
- Each node is connected to the source via an arc with zero-cost and capacity
We can solve a minimum-cost flow problem on the network (we have flow conservation and non-negativity constraints)