Maksim Golub / Analytics Playbook
Metrics tree ↗

Case 10. Optimization

Lithograph: reserved bread orders and remaining bakery capacity

The question

On 1st January, you received an order for 30 “Item 1” and 40 “Item 2”. If Item 1 and 2 are produced by the most efficient person respective to that product, what is the maximum number of “Item 3” that can be produced on 1st January?

Input data

Person APerson BPerson C
Item 1121516
Item 218915
Item 3101812

How to read the data

The table specifies minutes per item. The mandatory order consumes A’s and B’s time. The question assigns Item 1 to its fastest worker A and Item 2 to B.

How to think it through

  1. Assign mandatory items using the rule stated in the question.
  2. Translate the order into time consumed. Check that each worker stays within 720 minutes.
  3. Subtract committed time from each daily limit and use the remaining time for Item 3.
Choose an answer
How to solve it
  1. A makes 30 units of Item 1 in 360 minutes. B makes 40 units of Item 2 in 360 minutes.
  2. A's remaining time yields 36 units of Item 3; B's yields 20.
  3. C makes Item 3 all day, producing 60 units. Total: 36 + 20 + 60 = 116.
36 + 20 + 60 = 116

116 units

Fulfill the committed order first, then use the remaining time.

Assumptions & further exploration

The 116 result is maximal under the stated assignment rule. Allowing the order to be shared across all workers changes the optimisation problem. It requires production variables and a time constraint for each worker.