1. Learn
  2. /
  3. Courses
  4. /
  5. Supply Chain Analytics in Python

Exercise

Solving the model case study exercise

Continue the case study of the Capacitated Plant Location model of a car manufacture. The PuLP model has been completed and solved for you. It is stored in the variable model.

The decision variables x and y respectively represent the production quantities of the different regions, and if a production plant is opened. Additionally, two python lists loc and size have also been created, containing the different locations, and the two types of plant capacities. Finally, the input data for the model has been printed to the console for reference.

Instructions

100 XP
  • Print the values of how much is produced and shipped from one region to another.
  • Next, print the status value of the different regional plants of low and high capacity.
  • Finally, print the objective value.