Exercise

Solving production plan exercise

In this exercise you are working on a production plan for manufacturing kitchen cabinets over the next four months. There are setup, production, and inventory storing costs. You are given the starting inventory, the production capacity and the demand for cabinets for each month. Your goal is to determine how many cabinets should be produced, and the ending inventory in each period that minimizes the overall costs over the four months.

The PuLP model has been completed for you and stored in the variable model. The model’s decision variables include, x which equals the quantity of cabinets produced in a month, and s which shows the inventory at the end of a month. Additionally, a Python list of the different time periods named time has been created for you.

Instructions 1/3

undefined XP
    1
    2
    3
  • Complete the code that prints the text description of the model status.
  • Complete the code that prints out the value of all of the model variables.