SlideShare a Scribd company logo
1 of 57
1
Course: MBA
Subject: Quantitative
Techniques
Unit:1.1
2
• A Linear Programming model seeks to maximize or
minimize a linear function, subject to a set of linear
constraints.
• The linear model consists of the following
components:
– A set of decision variables.
– An objective function.
– A set of constraints.
2.1 Introduction to Linear Programming2.1 Introduction to Linear Programming
3
Introduction to Linear ProgrammingIntroduction to Linear Programming
• The Importance of Linear Programming
– Many real world problems lend themselves to linear
programming modeling.
– Many real world problems can be approximated by linear models.
– There are well-known successful applications in:
• Manufacturing
• Marketing
• Finance (investment)
• Advertising
• Agriculture
4
• The Importance of Linear Programming
– There are efficient solution techniques that solve linear
programming models.
– The output generated from linear programming packages
provides useful “what if” analysis.
Introduction to Linear ProgrammingIntroduction to Linear Programming
5
Introduction to Linear ProgrammingIntroduction to Linear Programming
• Assumptions of the linear programming model
– The parameter values are known with certainty.
– The objective function and constraints exhibit
constant returns to scale.
– There are no interactions between the decision
variables (the additivity assumption).
– The Continuity assumption: Variables can take on
any value within a given feasible range.
6
The Galaxy Industries Production Problem –The Galaxy Industries Production Problem –
A Prototype ExampleA Prototype Example
• Galaxy manufactures two toy doll models:
– Space Ray.
– Zapper.
• Resources are limited to
– 1000 pounds of special plastic.
– 40 hours of production time per week.
7
• Marketing requirement
– Total production cannot exceed 700 dozens.
– Number of dozens of Space Rays cannot exceed
number of dozens of Zappers by more than 350.
• Technological input
– Space Rays requires 2 pounds of plastic and
3 minutes of labor per dozen.
– Zappers requires 1 pound of plastic and
4 minutes of labor per dozen.
The Galaxy Industries Production Problem –The Galaxy Industries Production Problem –
A Prototype ExampleA Prototype Example
8
• The current production plan calls for:
– Producing as much as possible of the more profitable product,
Space Ray ($8 profit per dozen).
– Use resources left over to produce Zappers ($5 profit
per dozen), while remaining within the marketing guidelines.
• The current production plan consists of:
Space Rays = 450 dozen
Zapper = 100 dozen
Profit = $4100 per week
The Galaxy Industries Production Problem –The Galaxy Industries Production Problem –
A Prototype ExampleA Prototype Example
8(450) + 5(100)
9
Management is seeking a
production schedule that will
increase the company’s profit.
10
A linear programming model
can provide an insight and an
intelligent solution to this problem.
11
• Decisions variables::
– X1 = Weekly production level of Space Rays (in dozens)
– X2 = Weekly production level of Zappers (in dozens).
• Objective Function:
– Weekly profit, to be maximized
The Galaxy Linear Programming ModelThe Galaxy Linear Programming Model
12
Max 8X1 + 5X2 (Weekly profit)
subject to:
2X1 + 1X2 ≤ 1000 (Plastic)
3X1 + 4X2 ≤ 2400 (Production Time)
X1 + X2 ≤ 700 (Total production)
X1 - X2 ≤ 350 (Mix)
Xj> = 0, j = 1,2 (Nonnegativity)
The Galaxy Linear Programming ModelThe Galaxy Linear Programming Model
13
2.32.3 The Graphical Analysis of LinearThe Graphical Analysis of Linear
ProgrammingProgramming
The set of all points that satisfy all the
constraints of the model is called
a
FEASIBLE REGIONFEASIBLE REGION
14
Using a graphical presentation
we can represent all the constraints,
the objective function, and the three
types of feasible points.
15
The non-negativity constraints
X2
X1
Graphical Analysis – the Feasible RegionGraphical Analysis – the Feasible Region
16
1000
500
Feasible
X2
Infeasible
Production
Time
3X1+4X2 ≤2400
Total production constraint:
X1+X2 ≤700 (redundant)
500
700
The Plastic constraint
2X1+X2 ≤ 1000
X1
700
Graphical Analysis – the Feasible RegionGraphical Analysis – the Feasible Region
17
1000
500
Feasible
X2
Infeasible
Production
Time
3X1+4X2≤ 2400
Total production constraint:
X1+X2 ≤ 700 (redundant)
500
700
Production mix
constraint:
X1-X2 ≤350
The Plastic constraint
2X1+X2 ≤ 1000
X1
700
Graphical Analysis – the Feasible RegionGraphical Analysis – the Feasible Region
• There are three types of feasible points
Interior points. Boundary points. Extreme points.
18
Solving Graphically for anSolving Graphically for an
Optimal SolutionOptimal Solution
19
The search for an optimal solutionThe search for an optimal solution
Start at some arbitrary profit, say profit = $2,000...
Then increase the profit, if possible...
...and continue until it becomes infeasible
Profit =$4360
500
700
1000
500
X2
X1
20
Summary of the optimal solutionSummary of the optimal solution
Space Rays = 320 dozen
Zappers = 360 dozen
Profit = $4360
– This solution utilizes all the plastic and all the production hours.
– Total production is only 680 (not 700).
– Space Rays production exceeds Zappers production by only 40
dozens.
21
– If a linear programming problem has an optimal
solution, an extreme point is optimal.
Extreme points and optimal solutionsExtreme points and optimal solutions
22
• For multiple optimal solutions to exist, the objective
function must be parallel to one of the constraints
Multiple optimal solutionsMultiple optimal solutions
•Any weighted average of
optimal solutions is also an
optimal solution.
23
2.4 The Role of Sensitivity Analysis2.4 The Role of Sensitivity Analysis
of the Optimal Solutionof the Optimal Solution
• Is the optimal solution sensitive to changes in
input parameters?
• Possible reasons for asking this question:
– Parameter values used were only best estimates.
– Dynamic environment may cause changes.
– “What-if” analysis may provide economical and
operational information.
24
• Range of Optimality
– The optimal solution will remain unchanged as long as
• An objective function coefficient lies within its range of
optimality
• There are no changes in any other input parameters.
– The value of the objective function will change if the
coefficient multiplies a variable whose value is nonzero.
Sensitivity Analysis ofSensitivity Analysis of
Objective Function Coefficients.Objective Function Coefficients.
25
500
1000
500 800
X2
X1
Max8X1
+5X2
Max 4X
1 + 5X
2
Max 3.75X
1 + 5X
2
Max 2X1 + 5X2
Sensitivity Analysis ofSensitivity Analysis of
Objective Function Coefficients.Objective Function Coefficients.
26
500
1000
400 600 800
X2
X1
Max8X1
+5X2
Max 3.75X1 + 5X2
Max10X1
+5X2
Range of optimality: [3.75, 10]
Sensitivity Analysis ofSensitivity Analysis of
Objective Function Coefficients.Objective Function Coefficients.
27
• Reduced cost
Assuming there are no other changes to the input parameters,
the reduced cost for a variable Xj that has a value of “0” at the
optimal solution is:
– The negative of the objective coefficient increase of the variable
Xj (-∆Cj) necessary for the variable to be positive in the optimal
solution
– Alternatively, it is the change in the objective value per unit
increase of Xj.
• Complementary slackness
At the optimal solution, either the value of a variable is zero, or
its reduced cost is 0.
28
• In sensitivity analysis of right-hand sides of constraints
we are interested in the following questions:
– Keeping all other factors the same, how much would the
optimal value of the objective function (for example, the profit)
change if the right-hand side of a constraint changed by one
unit?
– For how many additional or fewer units will this per unit
change be valid?
Sensitivity Analysis ofSensitivity Analysis of
Right-Hand Side ValuesRight-Hand Side Values
29
• Any change to the right hand side of a binding
constraint will change the optimal solution.
• Any change to the right-hand side of a non-
binding constraint that is less than its slack or
surplus, will cause no change in the optimal
solution.
Sensitivity Analysis ofSensitivity Analysis of
Right-Hand Side ValuesRight-Hand Side Values
30
Shadow PricesShadow Prices
• Assuming there are no other changes to the
input parameters, the change to the objective
function value per unit increase to a right hand
side of a constraint is called the “Shadow Price”
31
1000
500
X2
X1
500
2X1
+1x2
<=1000
When more plastic becomes available (the
plastic constraint is relaxed), the right hand
side of the plastic constraint increases.
Production time
constraint
Maximum profit = $4360
2X1
+1x2
<=1001
Maximum profit = $4363.4
Shadow price =
4363.40 – 4360.00 = 3.40
Shadow Price – graphical demonstrationShadow Price – graphical demonstration
The Plastic
constraint
32
Range of FeasibilityRange of Feasibility
• Assuming there are no other changes to the
input parameters, the range of feasibility is
– The range of values for a right hand side of a constraint, in
which the shadow prices for the constraints remain
unchanged.
– In the range of feasibility the objective function value changes
as follows:
Change in objective value =
[Shadow price][Change in the right hand side value]
33
Range of FeasibilityRange of Feasibility
1000
500
X2
X1
500
2X1
+1x2
<=1000 Increasing the amount of
plastic is only effective until a
new constraint becomes active.
The Plastic
constraint
This is an infeasible solution
Production time
constraint
Production mix
constraint
X1 + X2 ≤ 700
A new active
constraint
34
Range of FeasibilityRange of Feasibility
1000
500
X2
X1
500
The Plastic
constraint
Production time
constraint
Note how the profit increases
as the amount of plastic
increases.
2X1
+1x2
≤1000
35
Range of FeasibilityRange of Feasibility
1000
500
X2
X1
500
2X1 + 1X2 ≤ 1100
Less plastic becomes available (the
plastic constraint is more restrictive).
The profit decreases
A new active
constraint
Infeasible
solution
36
– Sunk costs: The shadow price is the value of an
extra unit of the resource, since the cost of the
resource is not included in the calculation of the
objective function coefficient.
– Included costs: The shadow price is the premium
value above the existing unit value for the resource,
since the cost of the resource is included in the
calculation of the objective function coefficient.
The correct interpretation of shadow pricesThe correct interpretation of shadow prices
37
Other Post - Optimality ChangesOther Post - Optimality Changes
• Addition of a constraint.
• Deletion of a constraint.
• Addition of a variable.
• Deletion of a variable.
• Changes in the left - hand side coefficients.
38
2.5 Using Excel Solver to Find an2.5 Using Excel Solver to Find an
Optimal Solution and Analyze ResultsOptimal Solution and Analyze Results
• To see the input screen in Excel click Galaxy.xls
• Click Solver to obtain the following dialog box.
Equal To:
By Changing cells
These cells contain
the decision variables
$B$4:$C$4
To enter constraints click…
Set Target cell $D$6This cell contains
the value of the
objective function
$D$7:$D$10 $F$7:$F$10
All the constraints
have the same direction,
thus are included in
one “Excel constraint”.
39
Using Excel SolverUsing Excel Solver
• To see the input screen in Excel click Galaxy.xls
• Click Solver to obtain the following dialog box.
Equal To:
$D$7:$D$10<=$F$7:$F$10
By Changing cells
These cells contain
the decision variables
$B$4:$C$4
Set Target cell $D$6This cell contains
the value of the
objective function
Click on ‘Options’
and check ‘Linear
Programming’ and
‘Non-negative’.
40
• To see the input screen in Excel click Galaxy.xls
• Click Solver to obtain the following dialog box.
Equal To:
$D$7:$D$10<=$F$7:$F$10
By Changing cells
$B$4:$C$4
Set Target cell $D$6
Using Excel SolverUsing Excel Solver
41
Space Rays Zappers
Dozens 320 360
Total Limit
Profit 8 5 4360
Plastic 2 1 1000 <= 1000
Prod. Time 3 4 2400 <= 2400
Total 1 1 680 <= 700
Mix 1 -1 -40 <= 350
GALAXY INDUSTRIES
Using Excel Solver – Optimal SolutionUsing Excel Solver – Optimal Solution
42
Space Rays Zappers
Dozens 320 360
Total Limit
Profit 8 5 4360
Plastic 2 1 1000 <= 1000
Prod. Time 3 4 2400 <= 2400
Total 1 1 680 <= 700
Mix 1 -1 -40 <= 350
GALAXY INDUSTRIES
Using Excel Solver – Optimal SolutionUsing Excel Solver – Optimal Solution
Solver is ready to provide
reports to analyze the
optimal solution.
43
Using Excel Solver –Answer ReportUsing Excel Solver –Answer Report
Microsoft Excel 9.0 Answer Report
Worksheet: [Galaxy.xls]Galaxy
Report Created: 11/12/2001 8:02:06 PM
Target Cell (Max)
Cell Name Original Value Final Value
$D$6 Profit Total 4360 4360
Adjustable Cells
Cell Name Original Value Final Value
$B$4 Dozens Space Rays 320 320
$C$4 Dozens Zappers 360 360
Constraints
Cell Name Cell Value Formula Status Slack
$D$7 Plastic Total 1000 $D$7<=$F$7 Binding 0
$D$8 Prod. Time Total 2400 $D$8<=$F$8 Binding 0
$D$9 Total Total 680 $D$9<=$F$9 Not Binding 20
$D$10 Mix Total -40 $D$10<=$F$10 Not Binding 390
44
Using Excel Solver –SensitivityUsing Excel Solver –Sensitivity
ReportReport
Microsoft Excel Sensitivity Report
Worksheet: [Galaxy.xls]Sheet1
Report Created:
Adjustable Cells
Final Reduced Objective Allowable Allowable
Cell Name Value Cost Coefficient Increase Decrease
$B$4 Dozens Space Rays 320 0 8 2 4.25
$C$4 Dozens Zappers 360 0 5 5.666666667 1
Constraints
Final Shadow Constraint Allowable Allowable
Cell Name Value Price R.H. Side Increase Decrease
$D$7 Plastic Total 1000 3.4 1000 100 400
$D$8 Prod. Time Total 2400 0.4 2400 100 650
$D$9 Total Total 680 0 700 1E+30 20
$D$10 Mix Total -40 0 350 1E+30 390
45
• Infeasibility: Occurs when a model has no feasible
point.
• Unboundness: Occurs when the objective can become
infinitely large (max), or infinitely small (min).
• Alternate solution: Occurs when more than one point
optimizes the objective function
2.7 Models Without Unique Optimal2.7 Models Without Unique Optimal
SolutionsSolutions
46
1
No point, simultaneously,
lies both above line and
below lines and
.
1
2 3
2
3
Infeasible ModelInfeasible Model
47
Solver – Infeasible ModelSolver – Infeasible Model
48
Unbounded solutionUnbounded solution
The feasible
region
Maximize
the Objective Function
∞
49
Solver – Unbounded solutionSolver – Unbounded solution
50
• Solver does not alert the user to the existence of
alternate optimal solutions.
• Many times alternate optimal solutions exist
when the allowable increase or allowable
decrease is equal to zero.
• In these cases, we can find alternate optimal
solutions using Solver by the following
procedure:
Solver – An Alternate Optimal SolutionSolver – An Alternate Optimal Solution
51
• Observe that for some variable Xj the
Allowable increase = 0, or
Allowable decrease = 0.
• Add a constraint of the form:
Objective function = Current optimal value.
• If Allowable increase = 0, change the objective to
Maximize Xj
• If Allowable decrease = 0, change the objective to
Minimize Xj
Solver – An Alternate Optimal SolutionSolver – An Alternate Optimal Solution
52
2.8 Cost Minimization Diet Problem2.8 Cost Minimization Diet Problem
• Mix two sea ration products: Texfoods, Calration.
• Minimize the total cost of the mix.
• Meet the minimum requirements of Vitamin A,
Vitamin D, and Iron.
53
• Decision variables
– X1 (X2) -- The number of two-ounce portions of
Texfoods (Calration) product used in a serving.
• The Model
Minimize 0.60X1 + 0.50X2
Subject to
20X1 + 50X2 ≥ 100 Vitamin A
25X1 + 25X2 ≥ 100 Vitamin D
50X1 + 10X2 ≥ 100 Iron
X1, X2 ≥ 0
Cost per 2 oz.
% Vitamin A
provided per 2 oz.
% required
Cost Minimization Diet ProblemCost Minimization Diet Problem
54
10
2 44 5
Feasible RegionFeasible Region
Vitamin “D” constraint
Vitamin “A” constraint
The Iron constraint
The Diet Problem - Graphical solutionThe Diet Problem - Graphical solution
55
• Summary of the optimal solution
– Texfood product = 1.5 portions (= 3 ounces)
Calration product = 2.5 portions (= 5 ounces)
– Cost =$ 2.15 per serving.
– The minimum requirement for Vitamin D and iron are met with
no surplus.
– The mixture provides 155% of the requirement for Vitamin A.
Cost Minimization Diet ProblemCost Minimization Diet Problem
56
• Linear programming software packages solve
large linear models.
• Most of the software packages use the algebraic
technique called the Simplex algorithm.
• The input to any package includes:
– The objective function criterion (Max or Min).
– The type of each constraint: .
– The actual coefficients for the problem.
Computer Solution of Linear Programs WithComputer Solution of Linear Programs With
Any Number of Decision VariablesAny Number of Decision Variables
≤ = ≥, ,
ReferencesReferences
• Quantitative Techniques, by CR Kothari, Vikas
publication
• Fundamentals of Statistics by SC Guta Publisher
Sultan Chand
• Quantitative Techniques in management by N.D.
Vohra Publisher: Tata Mcgraw hill
57

More Related Content

What's hot

Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation CaseJoseph Konnully
 
north west corner and matrix minima
north west corner and matrix minimanorth west corner and matrix minima
north west corner and matrix minimaMallaJayachandra
 
Linear programming Cost Minimization
Linear programming Cost MinimizationLinear programming Cost Minimization
Linear programming Cost MinimizationKhushbu :-)
 
Assgnment=hungarian method
Assgnment=hungarian methodAssgnment=hungarian method
Assgnment=hungarian methodJoseph Konnully
 
Modified distribution method (modi method)
Modified distribution method (modi method)Modified distribution method (modi method)
Modified distribution method (modi method)Dinesh Suthar
 
Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programmingjyothimonc
 
Transportation Problem in Operational Research
Transportation Problem in Operational ResearchTransportation Problem in Operational Research
Transportation Problem in Operational ResearchNeha Sharma
 
Decision theory
Decision theoryDecision theory
Decision theorySurekha98
 
NORTH WEST CORNER METHOD
NORTH WEST CORNER METHODNORTH WEST CORNER METHOD
NORTH WEST CORNER METHODRashiPandey16
 
UPS case study analysis
UPS case study analysisUPS case study analysis
UPS case study analysisr-dilara
 
Case study kulicke and soffa industries inc - group 4
Case study   kulicke and soffa industries inc - group 4Case study   kulicke and soffa industries inc - group 4
Case study kulicke and soffa industries inc - group 4Piyush Sogra
 

What's hot (20)

Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 
Workload balancing
Workload balancingWorkload balancing
Workload balancing
 
north west corner and matrix minima
north west corner and matrix minimanorth west corner and matrix minima
north west corner and matrix minima
 
Goal Programming
Goal ProgrammingGoal Programming
Goal Programming
 
Linear programming Cost Minimization
Linear programming Cost MinimizationLinear programming Cost Minimization
Linear programming Cost Minimization
 
Assgnment=hungarian method
Assgnment=hungarian methodAssgnment=hungarian method
Assgnment=hungarian method
 
Case study on merck
Case study on merckCase study on merck
Case study on merck
 
Simplex two phase
Simplex two phaseSimplex two phase
Simplex two phase
 
Modified distribution method (modi method)
Modified distribution method (modi method)Modified distribution method (modi method)
Modified distribution method (modi method)
 
Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programming
 
Transportation Problem in Operational Research
Transportation Problem in Operational ResearchTransportation Problem in Operational Research
Transportation Problem in Operational Research
 
Decision theory
Decision theoryDecision theory
Decision theory
 
NORTH WEST CORNER METHOD
NORTH WEST CORNER METHODNORTH WEST CORNER METHOD
NORTH WEST CORNER METHOD
 
1. intro. to or &amp; lp
1. intro. to or &amp; lp1. intro. to or &amp; lp
1. intro. to or &amp; lp
 
Assignment problems
Assignment problemsAssignment problems
Assignment problems
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
Big-M Method Presentation
Big-M Method PresentationBig-M Method Presentation
Big-M Method Presentation
 
UPS case study analysis
UPS case study analysisUPS case study analysis
UPS case study analysis
 
Case study kulicke and soffa industries inc - group 4
Case study   kulicke and soffa industries inc - group 4Case study   kulicke and soffa industries inc - group 4
Case study kulicke and soffa industries inc - group 4
 
Mansa-building-case
Mansa-building-caseMansa-building-case
Mansa-building-case
 

Viewers also liked

Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical MethodJoseph Konnully
 
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric ApproachMath 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric ApproachJason Aubrey
 
An Introduction to Linear Programming
An Introduction to Linear ProgrammingAn Introduction to Linear Programming
An Introduction to Linear ProgrammingMinh-Tri Pham
 
Kingfisher airlines
Kingfisher airlinesKingfisher airlines
Kingfisher airlinessaketsrv2
 
Lesson 29: Linear Programming I
Lesson 29: Linear Programming ILesson 29: Linear Programming I
Lesson 29: Linear Programming IMatthew Leingang
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming ProblemRAVI PRASAD K.J.
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMINGrashi9
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1irsa javed
 
Mba i qt unit-4.1_introduction to probability distributions
Mba i qt unit-4.1_introduction to probability distributionsMba i qt unit-4.1_introduction to probability distributions
Mba i qt unit-4.1_introduction to probability distributionsRai University
 
Mba i qt unit-1.3_linear programming in om
Mba i qt unit-1.3_linear programming in omMba i qt unit-1.3_linear programming in om
Mba i qt unit-1.3_linear programming in omRai University
 
Taylor introms10 ppt_03
Taylor introms10 ppt_03Taylor introms10 ppt_03
Taylor introms10 ppt_03QA Cmu
 
Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programminggourab27
 

Viewers also liked (20)

Linear programing
Linear programingLinear programing
Linear programing
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
 
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric ApproachMath 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
Math 1300: Section 5- 3 Linear Programing in Two Dimensions: Geometric Approach
 
An Introduction to Linear Programming
An Introduction to Linear ProgrammingAn Introduction to Linear Programming
An Introduction to Linear Programming
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Kingfisher airlines
Kingfisher airlinesKingfisher airlines
Kingfisher airlines
 
Lecture27 linear programming
Lecture27 linear programmingLecture27 linear programming
Lecture27 linear programming
 
Lesson 29: Linear Programming I
Lesson 29: Linear Programming ILesson 29: Linear Programming I
Lesson 29: Linear Programming I
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming Problem
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Mba i qt unit-4.1_introduction to probability distributions
Mba i qt unit-4.1_introduction to probability distributionsMba i qt unit-4.1_introduction to probability distributions
Mba i qt unit-4.1_introduction to probability distributions
 
Mba i qt unit-1.3_linear programming in om
Mba i qt unit-1.3_linear programming in omMba i qt unit-1.3_linear programming in om
Mba i qt unit-1.3_linear programming in om
 
Ms(lpgraphicalsoln.)[1]
Ms(lpgraphicalsoln.)[1]Ms(lpgraphicalsoln.)[1]
Ms(lpgraphicalsoln.)[1]
 
Linear programing
Linear programingLinear programing
Linear programing
 
Taylor introms10 ppt_03
Taylor introms10 ppt_03Taylor introms10 ppt_03
Taylor introms10 ppt_03
 
Dynamic programming
Dynamic programming Dynamic programming
Dynamic programming
 
Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programming
 
Credit, Cash, and Collections Management
Credit, Cash, and Collections ManagementCredit, Cash, and Collections Management
Credit, Cash, and Collections Management
 

Similar to Mba i ot unit-1.1_linear programming

Similar to Mba i ot unit-1.1_linear programming (20)

Ch02.ppt
Ch02.pptCh02.ppt
Ch02.ppt
 
LPILP Models-1.ppt
LPILP Models-1.pptLPILP Models-1.ppt
LPILP Models-1.ppt
 
Optimization using lp.pptx
Optimization using lp.pptxOptimization using lp.pptx
Optimization using lp.pptx
 
CH1.ppt
CH1.pptCH1.ppt
CH1.ppt
 
qmb12ch08.pptx
qmb12ch08.pptxqmb12ch08.pptx
qmb12ch08.pptx
 
Lp graphical and simplexx892
Lp graphical and simplexx892Lp graphical and simplexx892
Lp graphical and simplexx892
 
OR_Hamdy_taha.ppt
OR_Hamdy_taha.pptOR_Hamdy_taha.ppt
OR_Hamdy_taha.ppt
 
OR_Hamdy_taha.ppt
OR_Hamdy_taha.pptOR_Hamdy_taha.ppt
OR_Hamdy_taha.ppt
 
Operation research - Chapter 01
Operation research - Chapter 01Operation research - Chapter 01
Operation research - Chapter 01
 
Linear programing
Linear programing Linear programing
Linear programing
 
Vcs slides on or 2014
Vcs slides on or 2014Vcs slides on or 2014
Vcs slides on or 2014
 
Chapter 6-INTEGER PROGRAMMING note.pdf
Chapter 6-INTEGER PROGRAMMING  note.pdfChapter 6-INTEGER PROGRAMMING  note.pdf
Chapter 6-INTEGER PROGRAMMING note.pdf
 
Linear programming manzoor nabi
Linear programming  manzoor nabiLinear programming  manzoor nabi
Linear programming manzoor nabi
 
ManScie_Chapter1_Introduction (4).pdf
ManScie_Chapter1_Introduction (4).pdfManScie_Chapter1_Introduction (4).pdf
ManScie_Chapter1_Introduction (4).pdf
 
linearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxlinearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptx
 
Operations Research - Introduction
Operations Research - IntroductionOperations Research - Introduction
Operations Research - Introduction
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
 
LPP.pptx
LPP.pptxLPP.pptx
LPP.pptx
 
Reference 1
Reference 1Reference 1
Reference 1
 

More from Rai University

Brochure Rai University
Brochure Rai University Brochure Rai University
Brochure Rai University Rai University
 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,Rai University
 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02Rai University
 
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri  2 pae  u-4.3 public expenditureBsc agri  2 pae  u-4.3 public expenditure
Bsc agri 2 pae u-4.3 public expenditureRai University
 
Bsc agri 2 pae u-4.2 public finance
Bsc agri  2 pae  u-4.2 public financeBsc agri  2 pae  u-4.2 public finance
Bsc agri 2 pae u-4.2 public financeRai University
 
Bsc agri 2 pae u-4.1 introduction
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introductionRai University
 
Bsc agri 2 pae u-3.3 inflation
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflationRai University
 
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri  2 pae  u-3.2 introduction to macro economicsBsc agri  2 pae  u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.2 introduction to macro economicsRai University
 
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructureRai University
 
Bsc agri 2 pae u-3 perfect-competition
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competitionRai University
 

More from Rai University (20)

Brochure Rai University
Brochure Rai University Brochure Rai University
Brochure Rai University
 
Mm unit 4point2
Mm unit 4point2Mm unit 4point2
Mm unit 4point2
 
Mm unit 4point1
Mm unit 4point1Mm unit 4point1
Mm unit 4point1
 
Mm unit 4point3
Mm unit 4point3Mm unit 4point3
Mm unit 4point3
 
Mm unit 3point2
Mm unit 3point2Mm unit 3point2
Mm unit 3point2
 
Mm unit 3point1
Mm unit 3point1Mm unit 3point1
Mm unit 3point1
 
Mm unit 2point2
Mm unit 2point2Mm unit 2point2
Mm unit 2point2
 
Mm unit 2 point 1
Mm unit 2 point 1Mm unit 2 point 1
Mm unit 2 point 1
 
Mm unit 1point3
Mm unit 1point3Mm unit 1point3
Mm unit 1point3
 
Mm unit 1point2
Mm unit 1point2Mm unit 1point2
Mm unit 1point2
 
Mm unit 1point1
Mm unit 1point1Mm unit 1point1
Mm unit 1point1
 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
 
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri  2 pae  u-4.3 public expenditureBsc agri  2 pae  u-4.3 public expenditure
Bsc agri 2 pae u-4.3 public expenditure
 
Bsc agri 2 pae u-4.2 public finance
Bsc agri  2 pae  u-4.2 public financeBsc agri  2 pae  u-4.2 public finance
Bsc agri 2 pae u-4.2 public finance
 
Bsc agri 2 pae u-4.1 introduction
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introduction
 
Bsc agri 2 pae u-3.3 inflation
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflation
 
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri  2 pae  u-3.2 introduction to macro economicsBsc agri  2 pae  u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.2 introduction to macro economics
 
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructure
 
Bsc agri 2 pae u-3 perfect-competition
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competition
 

Recently uploaded

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 

Recently uploaded (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 

Mba i ot unit-1.1_linear programming

  • 2. 2 • A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints. • The linear model consists of the following components: – A set of decision variables. – An objective function. – A set of constraints. 2.1 Introduction to Linear Programming2.1 Introduction to Linear Programming
  • 3. 3 Introduction to Linear ProgrammingIntroduction to Linear Programming • The Importance of Linear Programming – Many real world problems lend themselves to linear programming modeling. – Many real world problems can be approximated by linear models. – There are well-known successful applications in: • Manufacturing • Marketing • Finance (investment) • Advertising • Agriculture
  • 4. 4 • The Importance of Linear Programming – There are efficient solution techniques that solve linear programming models. – The output generated from linear programming packages provides useful “what if” analysis. Introduction to Linear ProgrammingIntroduction to Linear Programming
  • 5. 5 Introduction to Linear ProgrammingIntroduction to Linear Programming • Assumptions of the linear programming model – The parameter values are known with certainty. – The objective function and constraints exhibit constant returns to scale. – There are no interactions between the decision variables (the additivity assumption). – The Continuity assumption: Variables can take on any value within a given feasible range.
  • 6. 6 The Galaxy Industries Production Problem –The Galaxy Industries Production Problem – A Prototype ExampleA Prototype Example • Galaxy manufactures two toy doll models: – Space Ray. – Zapper. • Resources are limited to – 1000 pounds of special plastic. – 40 hours of production time per week.
  • 7. 7 • Marketing requirement – Total production cannot exceed 700 dozens. – Number of dozens of Space Rays cannot exceed number of dozens of Zappers by more than 350. • Technological input – Space Rays requires 2 pounds of plastic and 3 minutes of labor per dozen. – Zappers requires 1 pound of plastic and 4 minutes of labor per dozen. The Galaxy Industries Production Problem –The Galaxy Industries Production Problem – A Prototype ExampleA Prototype Example
  • 8. 8 • The current production plan calls for: – Producing as much as possible of the more profitable product, Space Ray ($8 profit per dozen). – Use resources left over to produce Zappers ($5 profit per dozen), while remaining within the marketing guidelines. • The current production plan consists of: Space Rays = 450 dozen Zapper = 100 dozen Profit = $4100 per week The Galaxy Industries Production Problem –The Galaxy Industries Production Problem – A Prototype ExampleA Prototype Example 8(450) + 5(100)
  • 9. 9 Management is seeking a production schedule that will increase the company’s profit.
  • 10. 10 A linear programming model can provide an insight and an intelligent solution to this problem.
  • 11. 11 • Decisions variables:: – X1 = Weekly production level of Space Rays (in dozens) – X2 = Weekly production level of Zappers (in dozens). • Objective Function: – Weekly profit, to be maximized The Galaxy Linear Programming ModelThe Galaxy Linear Programming Model
  • 12. 12 Max 8X1 + 5X2 (Weekly profit) subject to: 2X1 + 1X2 ≤ 1000 (Plastic) 3X1 + 4X2 ≤ 2400 (Production Time) X1 + X2 ≤ 700 (Total production) X1 - X2 ≤ 350 (Mix) Xj> = 0, j = 1,2 (Nonnegativity) The Galaxy Linear Programming ModelThe Galaxy Linear Programming Model
  • 13. 13 2.32.3 The Graphical Analysis of LinearThe Graphical Analysis of Linear ProgrammingProgramming The set of all points that satisfy all the constraints of the model is called a FEASIBLE REGIONFEASIBLE REGION
  • 14. 14 Using a graphical presentation we can represent all the constraints, the objective function, and the three types of feasible points.
  • 15. 15 The non-negativity constraints X2 X1 Graphical Analysis – the Feasible RegionGraphical Analysis – the Feasible Region
  • 16. 16 1000 500 Feasible X2 Infeasible Production Time 3X1+4X2 ≤2400 Total production constraint: X1+X2 ≤700 (redundant) 500 700 The Plastic constraint 2X1+X2 ≤ 1000 X1 700 Graphical Analysis – the Feasible RegionGraphical Analysis – the Feasible Region
  • 17. 17 1000 500 Feasible X2 Infeasible Production Time 3X1+4X2≤ 2400 Total production constraint: X1+X2 ≤ 700 (redundant) 500 700 Production mix constraint: X1-X2 ≤350 The Plastic constraint 2X1+X2 ≤ 1000 X1 700 Graphical Analysis – the Feasible RegionGraphical Analysis – the Feasible Region • There are three types of feasible points Interior points. Boundary points. Extreme points.
  • 18. 18 Solving Graphically for anSolving Graphically for an Optimal SolutionOptimal Solution
  • 19. 19 The search for an optimal solutionThe search for an optimal solution Start at some arbitrary profit, say profit = $2,000... Then increase the profit, if possible... ...and continue until it becomes infeasible Profit =$4360 500 700 1000 500 X2 X1
  • 20. 20 Summary of the optimal solutionSummary of the optimal solution Space Rays = 320 dozen Zappers = 360 dozen Profit = $4360 – This solution utilizes all the plastic and all the production hours. – Total production is only 680 (not 700). – Space Rays production exceeds Zappers production by only 40 dozens.
  • 21. 21 – If a linear programming problem has an optimal solution, an extreme point is optimal. Extreme points and optimal solutionsExtreme points and optimal solutions
  • 22. 22 • For multiple optimal solutions to exist, the objective function must be parallel to one of the constraints Multiple optimal solutionsMultiple optimal solutions •Any weighted average of optimal solutions is also an optimal solution.
  • 23. 23 2.4 The Role of Sensitivity Analysis2.4 The Role of Sensitivity Analysis of the Optimal Solutionof the Optimal Solution • Is the optimal solution sensitive to changes in input parameters? • Possible reasons for asking this question: – Parameter values used were only best estimates. – Dynamic environment may cause changes. – “What-if” analysis may provide economical and operational information.
  • 24. 24 • Range of Optimality – The optimal solution will remain unchanged as long as • An objective function coefficient lies within its range of optimality • There are no changes in any other input parameters. – The value of the objective function will change if the coefficient multiplies a variable whose value is nonzero. Sensitivity Analysis ofSensitivity Analysis of Objective Function Coefficients.Objective Function Coefficients.
  • 25. 25 500 1000 500 800 X2 X1 Max8X1 +5X2 Max 4X 1 + 5X 2 Max 3.75X 1 + 5X 2 Max 2X1 + 5X2 Sensitivity Analysis ofSensitivity Analysis of Objective Function Coefficients.Objective Function Coefficients.
  • 26. 26 500 1000 400 600 800 X2 X1 Max8X1 +5X2 Max 3.75X1 + 5X2 Max10X1 +5X2 Range of optimality: [3.75, 10] Sensitivity Analysis ofSensitivity Analysis of Objective Function Coefficients.Objective Function Coefficients.
  • 27. 27 • Reduced cost Assuming there are no other changes to the input parameters, the reduced cost for a variable Xj that has a value of “0” at the optimal solution is: – The negative of the objective coefficient increase of the variable Xj (-∆Cj) necessary for the variable to be positive in the optimal solution – Alternatively, it is the change in the objective value per unit increase of Xj. • Complementary slackness At the optimal solution, either the value of a variable is zero, or its reduced cost is 0.
  • 28. 28 • In sensitivity analysis of right-hand sides of constraints we are interested in the following questions: – Keeping all other factors the same, how much would the optimal value of the objective function (for example, the profit) change if the right-hand side of a constraint changed by one unit? – For how many additional or fewer units will this per unit change be valid? Sensitivity Analysis ofSensitivity Analysis of Right-Hand Side ValuesRight-Hand Side Values
  • 29. 29 • Any change to the right hand side of a binding constraint will change the optimal solution. • Any change to the right-hand side of a non- binding constraint that is less than its slack or surplus, will cause no change in the optimal solution. Sensitivity Analysis ofSensitivity Analysis of Right-Hand Side ValuesRight-Hand Side Values
  • 30. 30 Shadow PricesShadow Prices • Assuming there are no other changes to the input parameters, the change to the objective function value per unit increase to a right hand side of a constraint is called the “Shadow Price”
  • 31. 31 1000 500 X2 X1 500 2X1 +1x2 <=1000 When more plastic becomes available (the plastic constraint is relaxed), the right hand side of the plastic constraint increases. Production time constraint Maximum profit = $4360 2X1 +1x2 <=1001 Maximum profit = $4363.4 Shadow price = 4363.40 – 4360.00 = 3.40 Shadow Price – graphical demonstrationShadow Price – graphical demonstration The Plastic constraint
  • 32. 32 Range of FeasibilityRange of Feasibility • Assuming there are no other changes to the input parameters, the range of feasibility is – The range of values for a right hand side of a constraint, in which the shadow prices for the constraints remain unchanged. – In the range of feasibility the objective function value changes as follows: Change in objective value = [Shadow price][Change in the right hand side value]
  • 33. 33 Range of FeasibilityRange of Feasibility 1000 500 X2 X1 500 2X1 +1x2 <=1000 Increasing the amount of plastic is only effective until a new constraint becomes active. The Plastic constraint This is an infeasible solution Production time constraint Production mix constraint X1 + X2 ≤ 700 A new active constraint
  • 34. 34 Range of FeasibilityRange of Feasibility 1000 500 X2 X1 500 The Plastic constraint Production time constraint Note how the profit increases as the amount of plastic increases. 2X1 +1x2 ≤1000
  • 35. 35 Range of FeasibilityRange of Feasibility 1000 500 X2 X1 500 2X1 + 1X2 ≤ 1100 Less plastic becomes available (the plastic constraint is more restrictive). The profit decreases A new active constraint Infeasible solution
  • 36. 36 – Sunk costs: The shadow price is the value of an extra unit of the resource, since the cost of the resource is not included in the calculation of the objective function coefficient. – Included costs: The shadow price is the premium value above the existing unit value for the resource, since the cost of the resource is included in the calculation of the objective function coefficient. The correct interpretation of shadow pricesThe correct interpretation of shadow prices
  • 37. 37 Other Post - Optimality ChangesOther Post - Optimality Changes • Addition of a constraint. • Deletion of a constraint. • Addition of a variable. • Deletion of a variable. • Changes in the left - hand side coefficients.
  • 38. 38 2.5 Using Excel Solver to Find an2.5 Using Excel Solver to Find an Optimal Solution and Analyze ResultsOptimal Solution and Analyze Results • To see the input screen in Excel click Galaxy.xls • Click Solver to obtain the following dialog box. Equal To: By Changing cells These cells contain the decision variables $B$4:$C$4 To enter constraints click… Set Target cell $D$6This cell contains the value of the objective function $D$7:$D$10 $F$7:$F$10 All the constraints have the same direction, thus are included in one “Excel constraint”.
  • 39. 39 Using Excel SolverUsing Excel Solver • To see the input screen in Excel click Galaxy.xls • Click Solver to obtain the following dialog box. Equal To: $D$7:$D$10<=$F$7:$F$10 By Changing cells These cells contain the decision variables $B$4:$C$4 Set Target cell $D$6This cell contains the value of the objective function Click on ‘Options’ and check ‘Linear Programming’ and ‘Non-negative’.
  • 40. 40 • To see the input screen in Excel click Galaxy.xls • Click Solver to obtain the following dialog box. Equal To: $D$7:$D$10<=$F$7:$F$10 By Changing cells $B$4:$C$4 Set Target cell $D$6 Using Excel SolverUsing Excel Solver
  • 41. 41 Space Rays Zappers Dozens 320 360 Total Limit Profit 8 5 4360 Plastic 2 1 1000 <= 1000 Prod. Time 3 4 2400 <= 2400 Total 1 1 680 <= 700 Mix 1 -1 -40 <= 350 GALAXY INDUSTRIES Using Excel Solver – Optimal SolutionUsing Excel Solver – Optimal Solution
  • 42. 42 Space Rays Zappers Dozens 320 360 Total Limit Profit 8 5 4360 Plastic 2 1 1000 <= 1000 Prod. Time 3 4 2400 <= 2400 Total 1 1 680 <= 700 Mix 1 -1 -40 <= 350 GALAXY INDUSTRIES Using Excel Solver – Optimal SolutionUsing Excel Solver – Optimal Solution Solver is ready to provide reports to analyze the optimal solution.
  • 43. 43 Using Excel Solver –Answer ReportUsing Excel Solver –Answer Report Microsoft Excel 9.0 Answer Report Worksheet: [Galaxy.xls]Galaxy Report Created: 11/12/2001 8:02:06 PM Target Cell (Max) Cell Name Original Value Final Value $D$6 Profit Total 4360 4360 Adjustable Cells Cell Name Original Value Final Value $B$4 Dozens Space Rays 320 320 $C$4 Dozens Zappers 360 360 Constraints Cell Name Cell Value Formula Status Slack $D$7 Plastic Total 1000 $D$7<=$F$7 Binding 0 $D$8 Prod. Time Total 2400 $D$8<=$F$8 Binding 0 $D$9 Total Total 680 $D$9<=$F$9 Not Binding 20 $D$10 Mix Total -40 $D$10<=$F$10 Not Binding 390
  • 44. 44 Using Excel Solver –SensitivityUsing Excel Solver –Sensitivity ReportReport Microsoft Excel Sensitivity Report Worksheet: [Galaxy.xls]Sheet1 Report Created: Adjustable Cells Final Reduced Objective Allowable Allowable Cell Name Value Cost Coefficient Increase Decrease $B$4 Dozens Space Rays 320 0 8 2 4.25 $C$4 Dozens Zappers 360 0 5 5.666666667 1 Constraints Final Shadow Constraint Allowable Allowable Cell Name Value Price R.H. Side Increase Decrease $D$7 Plastic Total 1000 3.4 1000 100 400 $D$8 Prod. Time Total 2400 0.4 2400 100 650 $D$9 Total Total 680 0 700 1E+30 20 $D$10 Mix Total -40 0 350 1E+30 390
  • 45. 45 • Infeasibility: Occurs when a model has no feasible point. • Unboundness: Occurs when the objective can become infinitely large (max), or infinitely small (min). • Alternate solution: Occurs when more than one point optimizes the objective function 2.7 Models Without Unique Optimal2.7 Models Without Unique Optimal SolutionsSolutions
  • 46. 46 1 No point, simultaneously, lies both above line and below lines and . 1 2 3 2 3 Infeasible ModelInfeasible Model
  • 47. 47 Solver – Infeasible ModelSolver – Infeasible Model
  • 48. 48 Unbounded solutionUnbounded solution The feasible region Maximize the Objective Function ∞
  • 49. 49 Solver – Unbounded solutionSolver – Unbounded solution
  • 50. 50 • Solver does not alert the user to the existence of alternate optimal solutions. • Many times alternate optimal solutions exist when the allowable increase or allowable decrease is equal to zero. • In these cases, we can find alternate optimal solutions using Solver by the following procedure: Solver – An Alternate Optimal SolutionSolver – An Alternate Optimal Solution
  • 51. 51 • Observe that for some variable Xj the Allowable increase = 0, or Allowable decrease = 0. • Add a constraint of the form: Objective function = Current optimal value. • If Allowable increase = 0, change the objective to Maximize Xj • If Allowable decrease = 0, change the objective to Minimize Xj Solver – An Alternate Optimal SolutionSolver – An Alternate Optimal Solution
  • 52. 52 2.8 Cost Minimization Diet Problem2.8 Cost Minimization Diet Problem • Mix two sea ration products: Texfoods, Calration. • Minimize the total cost of the mix. • Meet the minimum requirements of Vitamin A, Vitamin D, and Iron.
  • 53. 53 • Decision variables – X1 (X2) -- The number of two-ounce portions of Texfoods (Calration) product used in a serving. • The Model Minimize 0.60X1 + 0.50X2 Subject to 20X1 + 50X2 ≥ 100 Vitamin A 25X1 + 25X2 ≥ 100 Vitamin D 50X1 + 10X2 ≥ 100 Iron X1, X2 ≥ 0 Cost per 2 oz. % Vitamin A provided per 2 oz. % required Cost Minimization Diet ProblemCost Minimization Diet Problem
  • 54. 54 10 2 44 5 Feasible RegionFeasible Region Vitamin “D” constraint Vitamin “A” constraint The Iron constraint The Diet Problem - Graphical solutionThe Diet Problem - Graphical solution
  • 55. 55 • Summary of the optimal solution – Texfood product = 1.5 portions (= 3 ounces) Calration product = 2.5 portions (= 5 ounces) – Cost =$ 2.15 per serving. – The minimum requirement for Vitamin D and iron are met with no surplus. – The mixture provides 155% of the requirement for Vitamin A. Cost Minimization Diet ProblemCost Minimization Diet Problem
  • 56. 56 • Linear programming software packages solve large linear models. • Most of the software packages use the algebraic technique called the Simplex algorithm. • The input to any package includes: – The objective function criterion (Max or Min). – The type of each constraint: . – The actual coefficients for the problem. Computer Solution of Linear Programs WithComputer Solution of Linear Programs With Any Number of Decision VariablesAny Number of Decision Variables ≤ = ≥, ,
  • 57. ReferencesReferences • Quantitative Techniques, by CR Kothari, Vikas publication • Fundamentals of Statistics by SC Guta Publisher Sultan Chand • Quantitative Techniques in management by N.D. Vohra Publisher: Tata Mcgraw hill 57