LPP Using Simplex Method
LPP Using Simplex Method
Simplex method
Introduction
In Excel Solver, the spreadsheet is the input and output medium for
the LP. Figure 1 shows the layout of the excel spreadsheet program.
The table below shows the resulting formulas and their placement in
the appropriate cells:
Actually, we only need to enter the formula for cell D5 and then copy
it into cells D6:D9.
All the elements of the LP model are now ready to be linked with
Solver. From Excel’s Data menu, select Solver to open the Solver
Parameters dialogue box shown in Figure 2.
$D$6:$D$9<= $F$6:$F$9
Figure 3: Add Constraint dialogue box
$B$13:$C$13>=0
To solve the problem, click Solve on the Solver Parameters (Figure 2).
A new dialogue box, Solver Results, will then give the status of the
solution. If the model setup is correct, the optimum value of z will
appear in cell D5 and the values of x1 and x2 will go to cells B13 and
C13, respectively.
The Solver Results dialogue box will give you the opportunity to request
further details about the solution, including the important sensitivity
analysis report.
Figure 4: Solver Results dialogue box
Raw Material P1 P2
M1 7 8
M2 9 8
Answer Report 1
Objective Cell (Max)
Original
Cell Name Value Final Value
$D$5 Objective, z Totals 0 63750
Variable Cells
Original
Cell Name Value Final Value Integer
$B$13 Solution x1 0 500 Contin
$C$13 Solution x2 0 187.5 Contin
Constraints
Cell Name Cell Value Formula Status Slack
$D$6 Constraint M1 Totals 5000 $D$6<=$F$6 Binding 0
$D$7 Constraint M2 Totals 6000 $D$7<=$F$7 Binding 0
Sensitivity Report 1
Variable Cells
Final Reduced Objective Allowable Allowable
Cell Name Value Cost Coefficient Increase Decrease
$B$13 Solution x1 500 0 90 22.5 2.5
$C$13 Solution x2 187.5 0 100 2.857142857 20
Constraints
Final Shadow Constraint Allowable Allowable
Cell Name Value Price R.H. Side Increase Decrease
$D$6 Constraint M1 Totals 5000 11.25 5000 1000 333.3333333
$D$7 Constraint M2 Totals 6000 1.25 6000 428.5714286 1000
Limits Report 1
Objective
Cell Name Value
Objective, z
$D$5 Totals 63750