Lecture 5
Lecture 5
Spring Semester
2
Linear Programming: Computer Solution
3
Linear Programming: Computer Solution
4
Linear Programming: Computer Solution
• In this lecture:
– we will show how linear programming problems can be solved
using Excel.
5
Linear Programming: Computer Solution
6
Linear Programming: Computer Solution
7
Linear Programming: Computer Solution
• Excel can be used to solve linear programming problems, although
the data input requirements can be more time-consuming and tedious
than with a software package like QM for Windows that is
specifically designed for the purpose.
• A spreadsheet requires that column and row headings for the specific
model be set up and that constraint and objective function formulas
be input in their entirety, as opposed to just the model parameters, as
with QM for Windows.
8
9
Linear Programming: Computer Solution
• To solve this problem, first click on the “Data” tab on the toolbar at
the top of the screen and then click on “Solver” on the far right side
of the Data toolbar. The window Solver Parameters will appear.
10
11
12
13
14
Load the “Solver” Add-in
in Excel
15
16
17
18
19
20
Examples
21
Beaver Creek Pottery Company – Maximization Model