

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Linear Programming and Network Flows; Subject: MATHEMATICAL SCIENCES; University: Northern Illinois University; Term: Unknown 2000;
Typology: Study notes
1 / 2
This page cannot be seen from the preview
Don't miss anything!


There are many computer programs to solve optimization problems. The most widely available is Microsoft Excel. Excel is an all-purpose spreadsheet-based program. Think of a spreadsheet as a grid of cells where each cell has a pre-defined address. The cells hold data or formulas acting on the data. A cell displays its content in a variety of formats. If a cell holds a formula, then the current value of the formula is displayed. As values change in a spreadsheet, affected cells are continually updated unless this mechanism is suppressed. For instance, if cell A1 holds the value 2 and cell B1 the formula =A1*A1, then B1 displays 4. If the value in A1 is changed to 3, then B right away changes its value to 9 without any user-intervention.
As expected, Excel can be programmed to solve a variety of optimization problems. The good news is that there is a Tools Add-In called Solver, which has several useful optimization algorithms. The examples given here refer to Microsoft Excel 2000 (Version 9.0). When Excel is started it creates a new document called Book 1. Sheet 1 of Book 1 is displayed with the current cell A1 highlighted by a dark black rectangle. To solve the primal problem 5 7 11 max 2 3 when (^) , 0
x y x y (^) x y
take the following steps.
The report, without the heading, should look like this:
Target Cell (Max) Cell Name Original Value Final Value $B$4 2x+3y 0 4.
Adjustable Cells Cell Name Original Value Final Value $B$1 x 0 0 $B$2 y 0 1.
Constraints Cell Name Cell Value Formula Status Slack $B$6 5x+7y 11$B$6<=$C$6 Binding 0
Exercise Use Excel to find the solution of 1 2 3 (^1 2 3 1 2 )
min 2 3 5 when (^) , , 0