Question: In this assignment, you will formulate and solve mathematical problems using python in google colab. You will submit two files: 1. A word file with
In this assignment, you will formulate and solve mathematical problems using python in google colab. You will submit two files:
1. A word file with the mathematical formulations of the problems,
2. An .ipynb file with solutions for each problem
2. The SilverCo Company desires to blend a new alloy of 40 percent tin, 35 percent zinc, and 25 percent lead from several available alloys having the following properties:
| Alloy | |||||
| Property | 1 | 2 | 3 | 4 | 5 |
| Percentage of tin | 60 | 25 | 45 | 20 | 50 |
| Percentage of zinc | 10 | 15 | 45 | 50 | 40 |
| Percentage of lead | 30 | 60 | 10 | 30 | 10 |
| Cost ($/lb) | 22 | 20 | 25 | 24 | 27 |
The objective is to determine the proportions of these alloys that should be blended to produce the new alloy at a minimum cost.
Formulate a linear programming model for this problem (You need to clearly define decision variables, generate the objective function and constraints).
Solve it using pyomo.
*****PLEASE USE PYTHON TO SOLVE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
