Sensitivity analysis exercise
You are doing the resource planning for a lawn furniture company. They manufacture decorative sets of legs for lawn chairs, benches, and tables from metal tubes using a two step process involving tube-bending, and welding. The profit the company receives from the sale of each product is $3 for a set of chair legs, $3 for a set of bench legs, and $5 for a set of table legs. You are trying to plan the production mix for the upcoming season. Unfortunately, due to a strike there is only 2000 lbs tubing available for production on-hand.
The time and raw material requirements for each product are printed in the console. Also, the PuLP model has been completed for you and stored in the variable model
. The constraints of the model are printed to the console.
Este exercício faz parte do curso
Supply Chain Analytics in Python
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
model.solve()
# Print the Model Status
print("Model Status: {}".format(____[____]))
# Print the Decision Variables
for v in model.variables():
print(v.name, "=", ____)
# Print the Objective Value
print("Objective = ", ____)