SlideShare a Scribd company logo
ADVANCED
OPERATIONS
RESEARCH
By: -
Hakeem–Ur–Rehman
IQTM–PU 1
RA O
LINEAR PROGRAMMING USING EXCEL SOLVER
LINEAR PROGRAMMING USING EXCEL SOLVER
2
Excel Lingo
On the toolbar at the bottom of the screen, click on:
 Start  All Programs  Microsoft Office  Microsoft Office Excel 2007
 Spreadsheet: A two-dimensional array of rectangles.
 Cell: Each rectangle in excel (Four types of information can be typed into a cell:
Number, Fraction, Function, and Text.) It is identified by its column and row
location on the spreadsheet, which are designated by letter and numbers,
respectively (i.e. cell A1).
 SUMPRODUCT: A function that first multiplies the numbers in n consecutive cells
(i.e. A1 through E1) by the numbers in another set of n consecutive cells (i.e. A5
through E5), respectively, then takes the sum of the n number of products (i.e.
A1*A5 + B1*B5 + C1*C5 + D1*D5 + E1*E5), and finally deposits that sum in the
cell you have selected (i.e. F1).
 Cell reference: Lets you repeat patterns of information between cells, which
occurs a selected cell refers to information typed in another cell.
 Absolute reference: A cell that always refers to the originally referred cell; if
the location of the selected cell changes, the referred cell will not change. It
includes a “$” sign before the cell’s column (i.e. $A1), row (i.e. A$1), or both
(i.e. $A$1).
 Relative reference: A cell that initially refers to the originally selected cell; if
the location of the selected cell changes, the referred cell will change and the
location of the new referred cell will reflect the location change of the selected
cell. It omits the “$” sign (i.e. A1).
LINEAR PROGRAMMING USING EXCEL SOLVER
3
How to activate Solver:
LINEAR PROGRAMMING USING EXCEL SOLVER
4
Solver can find a solution to:
 Systems of equations
 Inequalities
 Optimization problems
 Linear programs***
 Integer programs
 Nonlinear programs
EXAMPLE
5
XYZ manufacturing company has a division that produces two models of
grates, model–A and model–B. To produce each model–A grate requires ‘3’ g.
of cast iron and ‘6’ minutes of labor. To produce each model–B grate requires
‘4’ g. of cast iron and ‘3’ minutes of labor. The profit for each model–A grate
is Rs.2 and the profit for each model–B grate is Rs.1.50. One thousand g. of
cast iron and 20 hours of labor are available for grate production each day.
Because of an excess inventory of model–A grates, Company’s manager has
decided to limit the production of model–A grates to no more than 180 grates
per day.
Solve the given LP problem and perform sensitivity analysis.
LP MODEL: Let X1 and X2 be the number of model–A and model–B grates
respectively.
The complete LP model is as follow:
Maximum: Z = 2X1 + 1.5X2  2X1 + (3/2)X2
Subject to:
3X1 + 4X2 ≤ 1000 (Cast Iron Constraint)
6X1 + 3X2 ≤ 1200 (Labor Hour Constraint)
X1 ≤ 180 (Production limit of Model-A Constraint)
X1, X2 ≥ 0
LINEAR PROGRAMMING USING EXCEL SOLVER
STEP – I: ENTER THE DATA & FUNCTION
Cell I8: Enter:
=SUMPRODUCT($G$6:$H$6,G8:H8)
Drag to cells G11:H11
LINEAR PROGRAMMING USING EXCEL SOLVER
STEP – II: RECORD THE SOLVER PARAMETERS
8
The “Solver Parameters” dialog box:
WINDOWS
 “Set Target Cell” window:
Identifies the cell that Solver
will use to record the optimal
z-value for the problem.
 “By Changing Cells”
window: Identifies the cells
that Solver will use to record
the optimal solution for the
decision variables.
 “Subject to the
Constraints” window:
Identifies the non-negativity
constraints and the constraints
given by the problem.
Buttons
 “Options” button: Identifies
the type of optimization
problem; remember to check
off the “Assume Linear Model”
option.
 “Add” button: Used to insert
the constraints; identified
constraints are displayed in the
“Subject to the Constraints”
window.
 “Solve” button: Used to
determine the optimal value
for the objective z and the
decision variables.
LINEAR PROGRAMMING USING EXCEL SOLVER
STEP – II: RECORD THE SOLVER PARAMETERS (Cont…)
LINEAR PROGRAMMING USING EXCEL SOLVER
STEP – II: RECORD THE SOLVER PARAMETERS (Cont…)
With the CURSOR in the
“Set Target Cell Box”: Click
on Cell “I8”
SET TARGET CELL:
LINEAR PROGRAMMING USING EXCEL SOLVER
STEP – II: RECORD THE SOLVER PARAMETERS (Cont…)
LEAVE THE BUTTON
FOR Max
HIGHLIGHTED
EQUAL TO:
LINEAR PROGRAMMING USING EXCEL SOLVER
STEP – II: RECORD THE SOLVER PARAMETERS (Cont…)
WITH THE CURSOR IN THE
“BY CHANGING CELLS
BOX”: HIGHLIGHT CELLS
“G6” & “H6”
BY CHANGING
CELLS:
LINEAR PROGRAMMING USING EXCEL SOLVER
STEP – II: RECORD THE SOLVER PARAMETERS (Cont…)
SUBJECT TO THE CONSTRAINTS:
 In the “Solver
Parameters” dialog
box, click on the “Add”
button.
 Fill in the “Cell
Reference” and
“Constraint” windows
by clicking on the
changing cells and the
function cells.
 Click on the “OK”
button after adding
each constraint.
LINEAR PROGRAMMING USING EXCEL SOLVER
STEP – II: RECORD THE SOLVER PARAMETERS (Cont…)
 With the cursor in the cell reference box: highlight cells “I9 through
I11”. Leave the direction as “≤”. With the cursor in the constraint
box: : highlight cells “K9 through K11”.
 If more constraints were to be added, click “Add” and follow the
same procedure.
SUBJECT TO THE CONSTRAINTS (Cont…):
LINEAR PROGRAMMING USING EXCEL SOLVER
STEP – II: RECORD THE SOLVER PARAMETERS (Cont…)
OPTIONS:
LINEAR PROGRAMMING USING EXCEL SOLVER
STEP – II: RECORD THE SOLVER PARAMETERS (Cont…)
SOLVE:
LINEAR PROGRAMMING USING EXCEL SOLVER
STEP – II: RECORD THE SOLVER PARAMETERS (Cont…)
REPORT:
LINEAR PROGRAMMING USING EXCEL SOLVER
Analyzing the Excel Spreadsheet
LINEAR PROGRAMMING USING EXCEL SOLVER
THE ANSWER REPROT
LINEAR PROGRAMMING USING EXCEL SOLVER
THE SENSITIVITY REPROT
Range of Optimality
 Changing the profit coefficient of the objective function
 Will the original optimal solution still be optimal?
 Range of Optimality?
 Profit coefficient for X1
 2, range of optimality (2 + 1, 2 – 0.875) = (3, 1.125)
 Profit coefficient for X2
 1.5, range of optimality (1.5 + 1.167, 1.5 – 0.5) = (2.667, 1)
LINEAR PROGRAMMING USING EXCEL SOLVER
THE SENSITIVITY REPROT
Changing the RHS – CAST IRONS
 Binding Constraints
 3X1 + 4X2 ≤ 1000 (Cast Irons Constraint)
 3(120) + 4 (160) = 1000
 Suppose we increase one gram Cast Iron, what’s the impact on
the optimal profit?
 The unit change in the objective function is the shadow price
of the resource.
 Shadow price of Cast Iron Gram = 0.2
 Range of Feasibility: (1000 + 600, 1000 – 300) = (1600, 700)
LINEAR PROGRAMMING USING EXCEL SOLVER
THE SENSITIVITY REPROT
Changing the RHS – LABOUR HOUR
 Binding Constraints
 6X1 + 3X2 ≤ 1200 (Labor Hours Const.)
 6(120) + 3(160) = 1200
 Suppose we increase one Labour hour, what’s the impact on the
optimal profit?
 The unit change in the objective function is the shadow price
of the resource.
 Shadow price of Labour Hour = 0.23333
 Range of Feasibility: (1200 + 225, 1000 – 450) = (1425, 550)
LINEAR PROGRAMMING USING EXCEL SOLVER
THE SENSITIVITY REPROT
Changing the RHS – LABOUR HOUR
 NON–Binding Constraints
 X1 ≤ 180 (Model-A Production Cont.)
 Optimum: 120 + 0 = 120 (Model–A Grates)
 We have 60 excessive Model–A Grates (slack)
 Increasing the Grates?
 Decreasing the Grates?
 Shadow price of Model–A = 0
 Range of Feasibility: (180 + ∞, 180 – 60) = (∞, 120)
EXAMPLE: PRODUCTION SCHEDULING
23
Cool-bike Industries manufactures boys and girls bicycles in both 20-inch and 26-inch models. Each week it
must produce at least 200 girl models and 200 boy models. The following table gives the unit profit and the
number of minutes required for production and assembly for each model.
X1 = Number of 20-inch girls bicycles produced this week; X2 = Number of 20-inch boys bicycles
produced this week; X3 = Number of 26-inch girls bicycles produced this week; X4 = Number of 26-inch
boys bicycles produced this week
MAX 27X1 + 32X2 + 38X3 + 51X4
S.T.
X1 + X3  200 (Min girls models)
X2 + X4  200 (Min boys models)
12X1 + 12X2 + 9X3 + 9X4  4800 (Production minutes)
6X1 + 9X2 + 12X3 + 18X4  4800 (Assembly minutes)
2X1 + 2X2  500 (20-inch tires)
2X3 + 2X4  800 (26-inch tires)
All X's  0
Bicycle Unit Profit Production Minutes Assembly Minutes
20-inches girls $27 12 6
20-inches boys $32 12 9
26-inches girls $38 9 12
26-inches boys $51 9 18
The Production and assembly areas run two (eight-hour) shifts per day, five days per week. This week there
are 500 tires available for 20-inch models and 800 tires available for 26-inch models. Determine Cool-bike’s
optimal schedule for the week. What profit will it realize for the week?
EXAMPLE: PRODUCTION SCHEDULING (Cont…)
24
X1 = Number of 20-inch girls bicycles produced this week; X2 = Number of 20-inch boys bicycles
produced this week; X3 = Number of 26-inch girls bicycles produced this week; X4 = Number of 26-inch
boys bicycles produced this week
MAX 27X1 + 32X2 + 38X3 + 51X4
S.T.
X1 + X3  200 (Min girls models)
X2 + X4  200 (Min boys models)
12X1 + 12X2 + 9X3 + 9X4  4800 (Production minutes)
6X1 + 9X2 + 12X3 + 18X4  4800 (Assembly minutes)
2X1 + 2X2  500 (20-inch tires)
2X3 + 2X4  800 (26-inch tires)
All X's  0
EXAMPLE: PRODUCTION SCHEDULING (Cont…)
25
MAX 27X1 + 32X2 + 38X3 + 51X4
S.T.
X1 + X3  200 (Min girls models)
X2 + X4  200 (Min boys models)
12X1 + 12X2 + 9X3 + 9X4  4800 (Production minutes)
6X1 + 9X2 + 12X3 + 18X4  4800 (Assembly minutes)
2X1 + 2X2  500 (20-inch tires)
2X3 + 2X4  800 (26-inch tires)
All X's  0
EXAMPLE: PRODUCTION SCHEDULING (Cont…)
26
MAX 27X1 + 32X2 + 38X3 + 51X4
S.T.
X1 + X3  200 (Min girls models)
X2 + X4  200 (Min boys models)
12X1 + 12X2 + 9X3 + 9X4  4800 (Production minutes)
6X1 + 9X2 + 12X3 + 18X4  4800 (Assembly minutes)
2X1 + 2X2  500 (20-inch tires)
2X3 + 2X4  800 (26-inch tires)
All X's  0
QUESTIONS
27
Ad

Recommended

LP special cases and Duality.pptx
LP special cases and Duality.pptx
Snehal Athawale
 
5. advance topics in lp
5. advance topics in lp
Hakeem-Ur- Rehman
 
Simplex Method
Simplex Method
Sachin MK
 
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
Muhammed Jiyad
 
Linear Programming
Linear Programming
Pulchowk Campus
 
1. intro. to or & lp
1. intro. to or & lp
Hakeem-Ur- Rehman
 
Simplex method - Maximisation Case
Simplex method - Maximisation Case
Joseph Konnully
 
Simplex method: Slack, Surplus & Artificial variable
Simplex method: Slack, Surplus & Artificial variable
DevyaneeDevyanee2007
 
simplex method
simplex method
Dronak Sahu
 
Sensitivity analysis linear programming copy
Sensitivity analysis linear programming copy
Kiran Jadhav
 
NONLINEAR PROGRAMMING - Lecture 1 Introduction
NONLINEAR PROGRAMMING - Lecture 1 Introduction
Olympiad
 
Big-M Method Presentation
Big-M Method Presentation
Nitesh Singh Patel
 
Duality in Linear Programming Problem
Duality in Linear Programming Problem
RAVI PRASAD K.J.
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
karishma gupta
 
Solutions manual for operations research an introduction 10th edition by taha...
Solutions manual for operations research an introduction 10th edition by taha...
ricmka
 
Game theory (Operation Research)
Game theory (Operation Research)
kashif ayaz
 
decision making criterion
decision making criterion
Gaurav Sonkar
 
Goal programming
Goal programming
Hakeem-Ur- Rehman
 
Vogel’s Approximation Method (VAM)
Vogel’s Approximation Method (VAM)
dkpawar
 
Game Theory Operation Research
Game Theory Operation Research
R A Shah
 
primal and dual problem
primal and dual problem
Yash Lad
 
Minimization model by simplex method
Minimization model by simplex method
San Antonio de Padua - Center for Alternative Mathematics
 
Simplex method
Simplex method
Shiwani Gupta
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)
Shivani Gautam
 
Decision Theory Lecture Notes.pdf
Decision Theory Lecture Notes.pdf
Dr. Tushar J Bhatt
 
Product allocation problem
Product allocation problem
W3Edify
 
Integer programming
Integer programming
Hakeem-Ur- Rehman
 
linear programming
linear programming
DagnaygebawGoshme
 
Linear programming manufacturing application
Linear programming manufacturing application
Muneeb Ahmed
 
Linear programming - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
Joseph Konnully
 

More Related Content

What's hot (20)

simplex method
simplex method
Dronak Sahu
 
Sensitivity analysis linear programming copy
Sensitivity analysis linear programming copy
Kiran Jadhav
 
NONLINEAR PROGRAMMING - Lecture 1 Introduction
NONLINEAR PROGRAMMING - Lecture 1 Introduction
Olympiad
 
Big-M Method Presentation
Big-M Method Presentation
Nitesh Singh Patel
 
Duality in Linear Programming Problem
Duality in Linear Programming Problem
RAVI PRASAD K.J.
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
karishma gupta
 
Solutions manual for operations research an introduction 10th edition by taha...
Solutions manual for operations research an introduction 10th edition by taha...
ricmka
 
Game theory (Operation Research)
Game theory (Operation Research)
kashif ayaz
 
decision making criterion
decision making criterion
Gaurav Sonkar
 
Goal programming
Goal programming
Hakeem-Ur- Rehman
 
Vogel’s Approximation Method (VAM)
Vogel’s Approximation Method (VAM)
dkpawar
 
Game Theory Operation Research
Game Theory Operation Research
R A Shah
 
primal and dual problem
primal and dual problem
Yash Lad
 
Minimization model by simplex method
Minimization model by simplex method
San Antonio de Padua - Center for Alternative Mathematics
 
Simplex method
Simplex method
Shiwani Gupta
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)
Shivani Gautam
 
Decision Theory Lecture Notes.pdf
Decision Theory Lecture Notes.pdf
Dr. Tushar J Bhatt
 
Product allocation problem
Product allocation problem
W3Edify
 
Integer programming
Integer programming
Hakeem-Ur- Rehman
 
linear programming
linear programming
DagnaygebawGoshme
 
Sensitivity analysis linear programming copy
Sensitivity analysis linear programming copy
Kiran Jadhav
 
NONLINEAR PROGRAMMING - Lecture 1 Introduction
NONLINEAR PROGRAMMING - Lecture 1 Introduction
Olympiad
 
Duality in Linear Programming Problem
Duality in Linear Programming Problem
RAVI PRASAD K.J.
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
karishma gupta
 
Solutions manual for operations research an introduction 10th edition by taha...
Solutions manual for operations research an introduction 10th edition by taha...
ricmka
 
Game theory (Operation Research)
Game theory (Operation Research)
kashif ayaz
 
decision making criterion
decision making criterion
Gaurav Sonkar
 
Vogel’s Approximation Method (VAM)
Vogel’s Approximation Method (VAM)
dkpawar
 
Game Theory Operation Research
Game Theory Operation Research
R A Shah
 
primal and dual problem
primal and dual problem
Yash Lad
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)
Shivani Gautam
 
Decision Theory Lecture Notes.pdf
Decision Theory Lecture Notes.pdf
Dr. Tushar J Bhatt
 
Product allocation problem
Product allocation problem
W3Edify
 

Viewers also liked (20)

Linear programming manufacturing application
Linear programming manufacturing application
Muneeb Ahmed
 
Linear programming - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
Joseph Konnully
 
Linear programming with excel
Linear programming with excel
Hilda Isfanovi
 
Mathematical Programming Introduction
Mathematical Programming Introduction
OptiRisk India
 
Rate of change
Rate of change
Jessica Garcia
 
Ilp modeling with excel
Ilp modeling with excel
Hakeem-Ur- Rehman
 
Asv corporate finance
Asv corporate finance
Buzzoole s.r.l.
 
Chapter 5 Rate of Change and Slopes
Chapter 5 Rate of Change and Slopes
Iinternational Program School
 
Rate of change and slope
Rate of change and slope
cathyguyer
 
Product Mix Optimization Case Study - OPL/ CPLEX Code
Product Mix Optimization Case Study - OPL/ CPLEX Code
OptiRisk India
 
Simple and compound interest
Simple and compound interest
Jaspreet Kaur Kalsi
 
Unit 4 simple and compound interest
Unit 4 simple and compound interest
Rai University
 
Linear Programming and Excel Solver Functions for Dairy Ration Calculation
Linear Programming and Excel Solver Functions for Dairy Ration Calculation
Conferenceproceedings
 
2. cost of quality
2. cost of quality
Hakeem-Ur- Rehman
 
Bba 3274 qm week 8 linear programming
Bba 3274 qm week 8 linear programming
Stephen Ong
 
Managerial economics linearprogramming
Managerial economics linearprogramming
Niña Mae Alota
 
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
Jason Aubrey
 
CPLEX Optimization Studio, Modeling, Theory, Best Practices and Case Studies
CPLEX Optimization Studio, Modeling, Theory, Best Practices and Case Studies
optimizatiodirectdirect
 
Linear programming in market application
Linear programming in market application
Ahmad Raza Bhatti
 
Lecture27 linear programming
Lecture27 linear programming
Dr Sandeep Kumar Poonia
 
Linear programming manufacturing application
Linear programming manufacturing application
Muneeb Ahmed
 
Linear programming - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
Joseph Konnully
 
Linear programming with excel
Linear programming with excel
Hilda Isfanovi
 
Mathematical Programming Introduction
Mathematical Programming Introduction
OptiRisk India
 
Rate of change and slope
Rate of change and slope
cathyguyer
 
Product Mix Optimization Case Study - OPL/ CPLEX Code
Product Mix Optimization Case Study - OPL/ CPLEX Code
OptiRisk India
 
Unit 4 simple and compound interest
Unit 4 simple and compound interest
Rai University
 
Linear Programming and Excel Solver Functions for Dairy Ration Calculation
Linear Programming and Excel Solver Functions for Dairy Ration Calculation
Conferenceproceedings
 
Bba 3274 qm week 8 linear programming
Bba 3274 qm week 8 linear programming
Stephen Ong
 
Managerial economics linearprogramming
Managerial economics linearprogramming
Niña Mae Alota
 
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
Jason Aubrey
 
CPLEX Optimization Studio, Modeling, Theory, Best Practices and Case Studies
CPLEX Optimization Studio, Modeling, Theory, Best Practices and Case Studies
optimizatiodirectdirect
 
Linear programming in market application
Linear programming in market application
Ahmad Raza Bhatti
 
Ad

Similar to 4. linear programming using excel solver (20)

Management Science
Management Science
Renzhie Katigbak
 
16083116
16083116
Sou Tibon
 
Lecture - Linear Programming.pdf
Lecture - Linear Programming.pdf
lucky141651
 
Linear programming graphical method
Linear programming graphical method
Dr. Abdulfatah Salem
 
2. Introduction to LP & Graphical Method (1) (1).pptx
2. Introduction to LP & Graphical Method (1) (1).pptx
muhammadimranaziz5
 
Optimization using lp.pptx
Optimization using lp.pptx
DrAbhishekKumarSingh3
 
Operation research chapter two linear programming
Operation research chapter two linear programming
selome993
 
Proyecto parcial ii_grupo2.docx
Proyecto parcial ii_grupo2.docx
LuisCuevaFlores
 
Fx570 ms 991ms_e
Fx570 ms 991ms_e
Yosep Widian
 
Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0
PMILebanonChapter
 
Formulation Lpp
Formulation Lpp
Sachin MK
 
Lp (2)
Lp (2)
Samo Alwatan
 
Chapter Two linear programming in business mathematics .pdf
Chapter Two linear programming in business mathematics .pdf
AdaneWuduAbebaw
 
Partial Derivatives.pdf
Partial Derivatives.pdf
HrushikeshDandu
 
Chapter 2 Introduction to Optimisation.ppt
Chapter 2 Introduction to Optimisation.ppt
KwasiAppiah8
 
Evans_Analytics2e_ppt_13.pptxbbbbbbbbbbb
Evans_Analytics2e_ppt_13.pptxbbbbbbbbbbb
VikasRai405977
 
Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science
um1222
 
TALLER PARCIAL II CÁLCULO 3246 (CASTRO,SALAZAR,SHIGUANGO)
TALLER PARCIAL II CÁLCULO 3246 (CASTRO,SALAZAR,SHIGUANGO)
ChrysleerSalazar
 
Spreadsheet Modeling & Decision AnalysisA Practical .docx
Spreadsheet Modeling & Decision AnalysisA Practical .docx
rafbolet0
 
9.6 Systems of Inequalities and Linear Programming
9.6 Systems of Inequalities and Linear Programming
smiller5
 
Lecture - Linear Programming.pdf
Lecture - Linear Programming.pdf
lucky141651
 
Linear programming graphical method
Linear programming graphical method
Dr. Abdulfatah Salem
 
2. Introduction to LP & Graphical Method (1) (1).pptx
2. Introduction to LP & Graphical Method (1) (1).pptx
muhammadimranaziz5
 
Operation research chapter two linear programming
Operation research chapter two linear programming
selome993
 
Proyecto parcial ii_grupo2.docx
Proyecto parcial ii_grupo2.docx
LuisCuevaFlores
 
Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0
PMILebanonChapter
 
Formulation Lpp
Formulation Lpp
Sachin MK
 
Chapter Two linear programming in business mathematics .pdf
Chapter Two linear programming in business mathematics .pdf
AdaneWuduAbebaw
 
Chapter 2 Introduction to Optimisation.ppt
Chapter 2 Introduction to Optimisation.ppt
KwasiAppiah8
 
Evans_Analytics2e_ppt_13.pptxbbbbbbbbbbb
Evans_Analytics2e_ppt_13.pptxbbbbbbbbbbb
VikasRai405977
 
Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science
um1222
 
TALLER PARCIAL II CÁLCULO 3246 (CASTRO,SALAZAR,SHIGUANGO)
TALLER PARCIAL II CÁLCULO 3246 (CASTRO,SALAZAR,SHIGUANGO)
ChrysleerSalazar
 
Spreadsheet Modeling & Decision AnalysisA Practical .docx
Spreadsheet Modeling & Decision AnalysisA Practical .docx
rafbolet0
 
9.6 Systems of Inequalities and Linear Programming
9.6 Systems of Inequalities and Linear Programming
smiller5
 
Ad

More from Hakeem-Ur- Rehman (20)

PM using P6
PM using P6
Hakeem-Ur- Rehman
 
Qfd house of quality
Qfd house of quality
Hakeem-Ur- Rehman
 
7. cqia (kaizen, 5 s, tpm)
7. cqia (kaizen, 5 s, tpm)
Hakeem-Ur- Rehman
 
1.introduction to quality & total quality management
1.introduction to quality & total quality management
Hakeem-Ur- Rehman
 
Queueing theory
Queueing theory
Hakeem-Ur- Rehman
 
Network analysis
Network analysis
Hakeem-Ur- Rehman
 
6. assignment problems
6. assignment problems
Hakeem-Ur- Rehman
 
5. transportation problems
5. transportation problems
Hakeem-Ur- Rehman
 
Into to simulation
Into to simulation
Hakeem-Ur- Rehman
 
Mendeley (new)
Mendeley (new)
Hakeem-Ur- Rehman
 
DEA
DEA
Hakeem-Ur- Rehman
 
(Ntu talk) lean six sigma & scholarship info.
(Ntu talk) lean six sigma & scholarship info.
Hakeem-Ur- Rehman
 
Application of or for industrial engineers
Application of or for industrial engineers
Hakeem-Ur- Rehman
 
Lean six sigma (green belt)new
Lean six sigma (green belt)new
Hakeem-Ur- Rehman
 
Process improvement techniques
Process improvement techniques
Hakeem-Ur- Rehman
 
Production planning & control (PPC)
Production planning & control (PPC)
Hakeem-Ur- Rehman
 
2. lp iterative methods
2. lp iterative methods
Hakeem-Ur- Rehman
 
3. linear programming senstivity analysis
3. linear programming senstivity analysis
Hakeem-Ur- Rehman
 
13. value stream mapping
13. value stream mapping
Hakeem-Ur- Rehman
 
12. seven management & planning tools
12. seven management & planning tools
Hakeem-Ur- Rehman
 

Recently uploaded (20)

362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
David Boutry - Mentors Junior Developers
David Boutry - Mentors Junior Developers
David Boutry
 
60 Years and Beyond eBook 1234567891.pdf
60 Years and Beyond eBook 1234567891.pdf
waseemalazzeh
 
ElysiumPro Company Profile 2025-2026.pdf
ElysiumPro Company Profile 2025-2026.pdf
info751436
 
Fundamentals of Digital Design_Class_21st May - Copy.pptx
Fundamentals of Digital Design_Class_21st May - Copy.pptx
drdebarshi1993
 
chemistry investigatory project for class 12
chemistry investigatory project for class 12
Susis10
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
Water demand - Types , variations and WDS
Water demand - Types , variations and WDS
dhanashree78
 
NALCO Green Anode Plant,Compositions of CPC,Pitch
NALCO Green Anode Plant,Compositions of CPC,Pitch
arpitprachi123
 
3. What is the principles of Teamwork_Module_V1.0.ppt
3. What is the principles of Teamwork_Module_V1.0.ppt
engaash9
 
Microwatt: Open Tiny Core, Big Possibilities
Microwatt: Open Tiny Core, Big Possibilities
IBM
 
Introduction to Natural Language Processing - Stages in NLP Pipeline, Challen...
Introduction to Natural Language Processing - Stages in NLP Pipeline, Challen...
resming1
 
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
SharinAbGhani1
 
Center Enamel can Provide Aluminum Dome Roofs for diesel tank.docx
Center Enamel can Provide Aluminum Dome Roofs for diesel tank.docx
CenterEnamel
 
Understanding Amplitude Modulation : A Guide
Understanding Amplitude Modulation : A Guide
CircuitDigest
 
20CE601- DESIGN OF STEEL STRUCTURES ,INTRODUCTION AND ALLOWABLE STRESS DESIGN
20CE601- DESIGN OF STEEL STRUCTURES ,INTRODUCTION AND ALLOWABLE STRESS DESIGN
gowthamvicky1
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
djiceramil
 
最新版美国圣莫尼卡学院毕业证(SMC毕业证书)原版定制
最新版美国圣莫尼卡学院毕业证(SMC毕业证书)原版定制
Taqyea
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
ijab2
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
David Boutry - Mentors Junior Developers
David Boutry - Mentors Junior Developers
David Boutry
 
60 Years and Beyond eBook 1234567891.pdf
60 Years and Beyond eBook 1234567891.pdf
waseemalazzeh
 
ElysiumPro Company Profile 2025-2026.pdf
ElysiumPro Company Profile 2025-2026.pdf
info751436
 
Fundamentals of Digital Design_Class_21st May - Copy.pptx
Fundamentals of Digital Design_Class_21st May - Copy.pptx
drdebarshi1993
 
chemistry investigatory project for class 12
chemistry investigatory project for class 12
Susis10
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
Water demand - Types , variations and WDS
Water demand - Types , variations and WDS
dhanashree78
 
NALCO Green Anode Plant,Compositions of CPC,Pitch
NALCO Green Anode Plant,Compositions of CPC,Pitch
arpitprachi123
 
3. What is the principles of Teamwork_Module_V1.0.ppt
3. What is the principles of Teamwork_Module_V1.0.ppt
engaash9
 
Microwatt: Open Tiny Core, Big Possibilities
Microwatt: Open Tiny Core, Big Possibilities
IBM
 
Introduction to Natural Language Processing - Stages in NLP Pipeline, Challen...
Introduction to Natural Language Processing - Stages in NLP Pipeline, Challen...
resming1
 
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
SharinAbGhani1
 
Center Enamel can Provide Aluminum Dome Roofs for diesel tank.docx
Center Enamel can Provide Aluminum Dome Roofs for diesel tank.docx
CenterEnamel
 
Understanding Amplitude Modulation : A Guide
Understanding Amplitude Modulation : A Guide
CircuitDigest
 
20CE601- DESIGN OF STEEL STRUCTURES ,INTRODUCTION AND ALLOWABLE STRESS DESIGN
20CE601- DESIGN OF STEEL STRUCTURES ,INTRODUCTION AND ALLOWABLE STRESS DESIGN
gowthamvicky1
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
djiceramil
 
最新版美国圣莫尼卡学院毕业证(SMC毕业证书)原版定制
最新版美国圣莫尼卡学院毕业证(SMC毕业证书)原版定制
Taqyea
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-Adaptaflex.pdf
djiceramil
 
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
VARICELLA VACCINATION: A POTENTIAL STRATEGY FOR PREVENTING MULTIPLE SCLEROSIS
ijab2
 

4. linear programming using excel solver

  • 2. LINEAR PROGRAMMING USING EXCEL SOLVER 2 Excel Lingo On the toolbar at the bottom of the screen, click on:  Start  All Programs  Microsoft Office  Microsoft Office Excel 2007  Spreadsheet: A two-dimensional array of rectangles.  Cell: Each rectangle in excel (Four types of information can be typed into a cell: Number, Fraction, Function, and Text.) It is identified by its column and row location on the spreadsheet, which are designated by letter and numbers, respectively (i.e. cell A1).  SUMPRODUCT: A function that first multiplies the numbers in n consecutive cells (i.e. A1 through E1) by the numbers in another set of n consecutive cells (i.e. A5 through E5), respectively, then takes the sum of the n number of products (i.e. A1*A5 + B1*B5 + C1*C5 + D1*D5 + E1*E5), and finally deposits that sum in the cell you have selected (i.e. F1).  Cell reference: Lets you repeat patterns of information between cells, which occurs a selected cell refers to information typed in another cell.  Absolute reference: A cell that always refers to the originally referred cell; if the location of the selected cell changes, the referred cell will not change. It includes a “$” sign before the cell’s column (i.e. $A1), row (i.e. A$1), or both (i.e. $A$1).  Relative reference: A cell that initially refers to the originally selected cell; if the location of the selected cell changes, the referred cell will change and the location of the new referred cell will reflect the location change of the selected cell. It omits the “$” sign (i.e. A1).
  • 3. LINEAR PROGRAMMING USING EXCEL SOLVER 3 How to activate Solver:
  • 4. LINEAR PROGRAMMING USING EXCEL SOLVER 4 Solver can find a solution to:  Systems of equations  Inequalities  Optimization problems  Linear programs***  Integer programs  Nonlinear programs
  • 5. EXAMPLE 5 XYZ manufacturing company has a division that produces two models of grates, model–A and model–B. To produce each model–A grate requires ‘3’ g. of cast iron and ‘6’ minutes of labor. To produce each model–B grate requires ‘4’ g. of cast iron and ‘3’ minutes of labor. The profit for each model–A grate is Rs.2 and the profit for each model–B grate is Rs.1.50. One thousand g. of cast iron and 20 hours of labor are available for grate production each day. Because of an excess inventory of model–A grates, Company’s manager has decided to limit the production of model–A grates to no more than 180 grates per day. Solve the given LP problem and perform sensitivity analysis. LP MODEL: Let X1 and X2 be the number of model–A and model–B grates respectively. The complete LP model is as follow: Maximum: Z = 2X1 + 1.5X2  2X1 + (3/2)X2 Subject to: 3X1 + 4X2 ≤ 1000 (Cast Iron Constraint) 6X1 + 3X2 ≤ 1200 (Labor Hour Constraint) X1 ≤ 180 (Production limit of Model-A Constraint) X1, X2 ≥ 0
  • 6. LINEAR PROGRAMMING USING EXCEL SOLVER STEP – I: ENTER THE DATA & FUNCTION Cell I8: Enter: =SUMPRODUCT($G$6:$H$6,G8:H8) Drag to cells G11:H11
  • 7. LINEAR PROGRAMMING USING EXCEL SOLVER STEP – II: RECORD THE SOLVER PARAMETERS
  • 8. 8 The “Solver Parameters” dialog box: WINDOWS  “Set Target Cell” window: Identifies the cell that Solver will use to record the optimal z-value for the problem.  “By Changing Cells” window: Identifies the cells that Solver will use to record the optimal solution for the decision variables.  “Subject to the Constraints” window: Identifies the non-negativity constraints and the constraints given by the problem. Buttons  “Options” button: Identifies the type of optimization problem; remember to check off the “Assume Linear Model” option.  “Add” button: Used to insert the constraints; identified constraints are displayed in the “Subject to the Constraints” window.  “Solve” button: Used to determine the optimal value for the objective z and the decision variables. LINEAR PROGRAMMING USING EXCEL SOLVER STEP – II: RECORD THE SOLVER PARAMETERS (Cont…)
  • 9. LINEAR PROGRAMMING USING EXCEL SOLVER STEP – II: RECORD THE SOLVER PARAMETERS (Cont…) With the CURSOR in the “Set Target Cell Box”: Click on Cell “I8” SET TARGET CELL:
  • 10. LINEAR PROGRAMMING USING EXCEL SOLVER STEP – II: RECORD THE SOLVER PARAMETERS (Cont…) LEAVE THE BUTTON FOR Max HIGHLIGHTED EQUAL TO:
  • 11. LINEAR PROGRAMMING USING EXCEL SOLVER STEP – II: RECORD THE SOLVER PARAMETERS (Cont…) WITH THE CURSOR IN THE “BY CHANGING CELLS BOX”: HIGHLIGHT CELLS “G6” & “H6” BY CHANGING CELLS:
  • 12. LINEAR PROGRAMMING USING EXCEL SOLVER STEP – II: RECORD THE SOLVER PARAMETERS (Cont…) SUBJECT TO THE CONSTRAINTS:  In the “Solver Parameters” dialog box, click on the “Add” button.  Fill in the “Cell Reference” and “Constraint” windows by clicking on the changing cells and the function cells.  Click on the “OK” button after adding each constraint.
  • 13. LINEAR PROGRAMMING USING EXCEL SOLVER STEP – II: RECORD THE SOLVER PARAMETERS (Cont…)  With the cursor in the cell reference box: highlight cells “I9 through I11”. Leave the direction as “≤”. With the cursor in the constraint box: : highlight cells “K9 through K11”.  If more constraints were to be added, click “Add” and follow the same procedure. SUBJECT TO THE CONSTRAINTS (Cont…):
  • 14. LINEAR PROGRAMMING USING EXCEL SOLVER STEP – II: RECORD THE SOLVER PARAMETERS (Cont…) OPTIONS:
  • 15. LINEAR PROGRAMMING USING EXCEL SOLVER STEP – II: RECORD THE SOLVER PARAMETERS (Cont…) SOLVE:
  • 16. LINEAR PROGRAMMING USING EXCEL SOLVER STEP – II: RECORD THE SOLVER PARAMETERS (Cont…) REPORT:
  • 17. LINEAR PROGRAMMING USING EXCEL SOLVER Analyzing the Excel Spreadsheet
  • 18. LINEAR PROGRAMMING USING EXCEL SOLVER THE ANSWER REPROT
  • 19. LINEAR PROGRAMMING USING EXCEL SOLVER THE SENSITIVITY REPROT Range of Optimality  Changing the profit coefficient of the objective function  Will the original optimal solution still be optimal?  Range of Optimality?  Profit coefficient for X1  2, range of optimality (2 + 1, 2 – 0.875) = (3, 1.125)  Profit coefficient for X2  1.5, range of optimality (1.5 + 1.167, 1.5 – 0.5) = (2.667, 1)
  • 20. LINEAR PROGRAMMING USING EXCEL SOLVER THE SENSITIVITY REPROT Changing the RHS – CAST IRONS  Binding Constraints  3X1 + 4X2 ≤ 1000 (Cast Irons Constraint)  3(120) + 4 (160) = 1000  Suppose we increase one gram Cast Iron, what’s the impact on the optimal profit?  The unit change in the objective function is the shadow price of the resource.  Shadow price of Cast Iron Gram = 0.2  Range of Feasibility: (1000 + 600, 1000 – 300) = (1600, 700)
  • 21. LINEAR PROGRAMMING USING EXCEL SOLVER THE SENSITIVITY REPROT Changing the RHS – LABOUR HOUR  Binding Constraints  6X1 + 3X2 ≤ 1200 (Labor Hours Const.)  6(120) + 3(160) = 1200  Suppose we increase one Labour hour, what’s the impact on the optimal profit?  The unit change in the objective function is the shadow price of the resource.  Shadow price of Labour Hour = 0.23333  Range of Feasibility: (1200 + 225, 1000 – 450) = (1425, 550)
  • 22. LINEAR PROGRAMMING USING EXCEL SOLVER THE SENSITIVITY REPROT Changing the RHS – LABOUR HOUR  NON–Binding Constraints  X1 ≤ 180 (Model-A Production Cont.)  Optimum: 120 + 0 = 120 (Model–A Grates)  We have 60 excessive Model–A Grates (slack)  Increasing the Grates?  Decreasing the Grates?  Shadow price of Model–A = 0  Range of Feasibility: (180 + ∞, 180 – 60) = (∞, 120)
  • 23. EXAMPLE: PRODUCTION SCHEDULING 23 Cool-bike Industries manufactures boys and girls bicycles in both 20-inch and 26-inch models. Each week it must produce at least 200 girl models and 200 boy models. The following table gives the unit profit and the number of minutes required for production and assembly for each model. X1 = Number of 20-inch girls bicycles produced this week; X2 = Number of 20-inch boys bicycles produced this week; X3 = Number of 26-inch girls bicycles produced this week; X4 = Number of 26-inch boys bicycles produced this week MAX 27X1 + 32X2 + 38X3 + 51X4 S.T. X1 + X3  200 (Min girls models) X2 + X4  200 (Min boys models) 12X1 + 12X2 + 9X3 + 9X4  4800 (Production minutes) 6X1 + 9X2 + 12X3 + 18X4  4800 (Assembly minutes) 2X1 + 2X2  500 (20-inch tires) 2X3 + 2X4  800 (26-inch tires) All X's  0 Bicycle Unit Profit Production Minutes Assembly Minutes 20-inches girls $27 12 6 20-inches boys $32 12 9 26-inches girls $38 9 12 26-inches boys $51 9 18 The Production and assembly areas run two (eight-hour) shifts per day, five days per week. This week there are 500 tires available for 20-inch models and 800 tires available for 26-inch models. Determine Cool-bike’s optimal schedule for the week. What profit will it realize for the week?
  • 24. EXAMPLE: PRODUCTION SCHEDULING (Cont…) 24 X1 = Number of 20-inch girls bicycles produced this week; X2 = Number of 20-inch boys bicycles produced this week; X3 = Number of 26-inch girls bicycles produced this week; X4 = Number of 26-inch boys bicycles produced this week MAX 27X1 + 32X2 + 38X3 + 51X4 S.T. X1 + X3  200 (Min girls models) X2 + X4  200 (Min boys models) 12X1 + 12X2 + 9X3 + 9X4  4800 (Production minutes) 6X1 + 9X2 + 12X3 + 18X4  4800 (Assembly minutes) 2X1 + 2X2  500 (20-inch tires) 2X3 + 2X4  800 (26-inch tires) All X's  0
  • 25. EXAMPLE: PRODUCTION SCHEDULING (Cont…) 25 MAX 27X1 + 32X2 + 38X3 + 51X4 S.T. X1 + X3  200 (Min girls models) X2 + X4  200 (Min boys models) 12X1 + 12X2 + 9X3 + 9X4  4800 (Production minutes) 6X1 + 9X2 + 12X3 + 18X4  4800 (Assembly minutes) 2X1 + 2X2  500 (20-inch tires) 2X3 + 2X4  800 (26-inch tires) All X's  0
  • 26. EXAMPLE: PRODUCTION SCHEDULING (Cont…) 26 MAX 27X1 + 32X2 + 38X3 + 51X4 S.T. X1 + X3  200 (Min girls models) X2 + X4  200 (Min boys models) 12X1 + 12X2 + 9X3 + 9X4  4800 (Production minutes) 6X1 + 9X2 + 12X3 + 18X4  4800 (Assembly minutes) 2X1 + 2X2  500 (20-inch tires) 2X3 + 2X4  800 (26-inch tires) All X's  0