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

Connected

Exercise

Decision variables of case study

Continue the case study of the Capacitated Plant Location model of a car manufacture. You are given four Pandas data frames demand, var_cost, fix_cost, and cap containing the regional demand (thous. of cars), variable production costs (thous. $US), fixed production costs (thous. $US), and production capacity (thous. of cars). All these variables have been printed to the console for your viewing.

Instructions

100 XP
  • Initialize the class.
  • Define the decision variables using LpVariable.dicts and python's list comprehension.