company aims to produce a lead-zinc-tin of 30% lead, 30% zinc, 40% tin alloy at minimal cost. The problem is to blend a new alloy from nine other purchased alloys with different unit costs as follows alloy supplier 1 2 3 4 5 6 7 8 lead 10 10 40 60 30 30 30 50 20 zine 10 30 50 30 30 40 20 40 30 | tin 80 60 10 10 40 30 50 10 50 price/unit weight 4.1 4.3 5.8 6.0 7.6 7.5 7.3 6.9 7.3 To construct the model for optimization, consider the following: 1. the quantity of alloy is to be optimized per unit weight 2. the 30-30-40 lead zinc tin blend can be framed as having a unit weight, ie., 0.3 +0.3 +0.4 - 1 unit weight 3. since there are 9 alloys to be acquired, it means there are 9 quantities to be optimized. 4. there are 4 constraints to the optimization problem: (a) the sum of alloys must be kept to the unit weight (b) the sum of alloys for lead must be kept to its composition. (c) the sum of alloys for sine must be kept to its composition. (d) the sum of alloys for tin must be kept to its composition.
• Create a main.m file that contains the variables for the problem. The main file calls the simplex function file above.
A A company aims to produce a lead-zinc-tin of 30% lead, 30% zinc, 40% tin alloy at minimal cost. The problem is to blend
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am