Exercise

Simulation testing solution exercise

You are working to minimize the transportation costs of shipping products from warehouses in New York, and Atlanta, to customers in the East, South, Midwest, and West regions of the US. The input data of transportation costs and demand for each region is given to you in the variable d which is printed in the console.

Instructions 1/3

undefined XP
    1
    2
    3
  • Complete the code of the objective function that uses the random.normalvariate() method to add noise to the warehouse shipping estimates, centered at 0 with a standard deviation of 5.