What is the Cost Function and How to Minimize it Using Excel Solver?

AI Thread Summary
The discussion focuses on minimizing a cost function for a metal company creating a new alloy using a linear combination of five existing alloys. The cost function is defined as 22x1 + 20x2 + 25x3 + 24x4 + 27x5, and the goal is to find the optimal values for x1 through x5 in Excel using the Solver tool. Users express familiarity with the concept but seek guidance on effectively using Excel Solver, as they encounter difficulties achieving the correct results. Recommendations include consulting Excel's help resources and searching for online tutorials to better understand Solver's functionalities. Overall, the conversation highlights the need for practical assistance in applying Excel Solver to linear programming problems.
tom.young84
Messages
21
Reaction score
0
Introduction to Operations Research, Hiller, 3.4-12 I believe

1 2 3 4 5 New Alloy
tin 60 25 45 20 50 =40
zinc 10 15 45 50 45 =35
lead 30 60 10 30 10 =25
total 1 1 1 1 1 =1

Cost 22 20 25 24 27

Goal: minimize cost function 22x1+20x2+25x3+24x4+27x5

Basically there is this metal company trying to make a new alloy through a linear combination of the other five alloys. At the bottom is the "cost function" which I am suppose to minimize. I actually understand how to do it, but not in Excel, which is what I am suppose to use. I'm completely unfamiliar with how to use solver.
 
Physics news on Phys.org
tom.young84 said:
Introduction to Operations Research, Hiller, 3.4-12 I believe

1 2 3 4 5 New Alloy
tin 60 25 45 20 50 =40
zinc 10 15 45 50 45 =35
lead 30 60 10 30 10 =25
total 1 1 1 1 1 =1

Cost 22 20 25 24 27

Goal: minimize cost function 22x1+20x2+25x3+24x4+27x5

Basically there is this metal company trying to make a new alloy through a linear combination of the other five alloys. At the bottom is the "cost function" which I am suppose to minimize. I actually understand how to do it, but not in Excel, which is what I am suppose to use. I'm completely unfamiliar with how to use solver.

Excel's help on the Solver is generally pretty good. Have you read through it?
 
I've tried using solver...I get something that isn't the answer. Is there a good tutorial?
 
Back
Top