SlideShare a Scribd company logo
1 of 28
Linear Programming Problem (LPP) Formulation, Graphical
Method, Simplex Method, Dual LPP, Basic Concepts of Sensitivity
Analysis.
12-08-2022 1
Linear Programming Problem (LPP)
 Linear Programming is a mathematical technique useful for allocation of ‘scarce’ or ‘limited’ resources, to several
competingactivitiesonthebasisofagivencriterion ofoptimality.
 It dealswith theoptimization(maximizationorminimization)ofa functionofvariablesknownasobjective functions.
 SometimesreferredtoasLINEAROPTIMISATION
 Thewordlinearreferstolinear relationshipamongvariablesin amodel.
 Thetermprogrammingreferstotheprocessofdetermining a particularprogrammeorplanofaction.
12-08-2022 2
 Linear Programming may be defined as a method of determining an optimum programme of interdependent activities in view of
availableresources.
 The objective in a Linear Programming Problem is to maximise profit or minimise cost, as the case may be, subject toa number of
limitationsknownasconstraints.
 Forthis,anobjective functionisconstructedwhichrepresentstotalprofitortotalcostasthe casemaybe.
 The constraints are expressed in the form of inequalities or equations. Both the objective function and the constraints are linear
relationshipbetweenthevariables.
 The solution to a Linear Programming Problem shows how much should be produced (or sold or purchased) which will optimise
theobjectivefunctionandsatisfytheconstraints.
12-08-2022 3
Components of LPP:
1.Decision Variables:Thedecision variablewilldecide theo/p.
It gives theultimatesolutiontothe problem.Foranyproblem1st stepistoidentifythedecision variables.
2.Constraints:Theremustbelimitation ofResources.Theygive risetoconstraints.It maybeequalitiesorinequalities.
3.Objective function:It representshoweach decision variablewouldaffectthecost orsimplythe Valueneedstobeoptimised.
4.Data:Thesequantifytherelationshipsbetween obj:Fn andtheconstraints
12-08-2022 4
Essential ingredients/characteristics ofLPP
1. The objective function
In its general form,it is representedas:
Optimize(MaximizeorMinimize) Z=c1x1+c2x2+. . .+cnxn
wherec1,c2,c3………..cn areconstants
x1,x2,x3………..xn areDecision Variables.
2) Linear Constraints
There are a set of restrictions imposed on the variables appearing in the objective function. These restrictions are due to the
limitationsofresources.
Therestrictionsareoftheform
a₁x₁+a₂x₂+anx≥ b(or≤ b)
wherea₁,a₂,….andbareconstants.
Theremaybemorethanoneconstraint.
12-08-2022 5
3) Feasible solution:
A feasiblesolutiontoalinearprogrammingproblemisa setofvaluesforthevariablesX₁,X₂,............ Xnwhich satisfytheconstraints.
4) Optimal solution:
There can be one or more feasible solutions to a linear programming problem. A feasible solution which optimises the objective
functionisknownasoptimalsolution.
12-08-2022 6
 FormationofMathematicalmodelto a linear programmingproblem
Step1 :Identifytheobjectives asmaximisationorminimisation.
Step2:Mention theobjective quantitativelyandexpressit asa linearfunctionofvariables,knownasobjective function.
Step 3: Identify the constraints which are conditions stipulated in the problem. Constraints are those relating to availability of
resources, or conditions on quantities to be purchased or produced or sold etc. Constraints are expressed in the form of linear
inequalitiesorequations.
12-08-2022 7
12-08-2022 8
PROBLEMS
Ex. 1:Amanufacturerof furnituremakestwo products,chairsandtables. Processingof theseproductsisdone on
two machines A and B. A chair requires 2 hours on machine A and 6 hours on machine B. A table requires 5 hours
on machine A andno time on machine B. There are 16 hours of time per day available on machine A and 30 hours
on machine B. Profit gained by the manufacturer from a chair is Re. I and from a table is Rs. 5 respectively.
Formulate theproblem into aL.P.P.inorder to maximizethe totalprofit.
12-08-2022 9
12-08-2022 10
12-08-2022 11
Ex. 2: A home resourceful decorator manufacturers two types of Lamps say A and B. Both lamps go through two
technicians first a cutter and second a finisher. Lamp A requires 2 hours of the cutter's time and 1 hour of the
finisher's time; Lamp B requires 1 hour of cutter's and 2 hours of finisher's time. The cutter has 104 hours and
finisher has 76 hours of available time each month. Profit on the Lamp A is Rs. 6.00 and on one B lamp is Rs.
11.00.Formulate amathematicalmodel.
12-08-2022 12
12-08-2022 13
12-08-2022 14
12-08-2022 15
Solution to LPP
An LPP canbe solved by
1) Graphical Method
2) Simplex method
12-08-2022 16
12-08-2022 17
Q:Draw lines corresponding to the equation
x=0,y=0,x=3,y=2, 3x+4y=12
12-08-2022 18
12-08-2022 19
12-08-2022 20
SIMPLEX METHOD
 If theLPPhaslargernumberofvariables,thesuitablemethod ofsolvingis Simplexmethod.
 Simplex method is a Linear Programming technique in which we start with a certain solution which is feasible. We improve this
solutionin anumberof consecutivestagesuntilwearriveatanoptimalsolution.
 For arriving at the solution of LPP by this method, the constraints and the objective function are presented in a table known as
simplextable.
 Itisan iterative(step by step)procedurein which weproceedin systematicstepsfroman initial BasicFeasible Solution toanother
Basic Feasible Solution and finally, in a finite number of steps to an optimal basic feasible solution, in such a way that the value of
theobjectivefunctionisbetter
12-08-2022 21
 Feasible solution
Itis the set of values of thevariables whichsatisfy all the constraints and non-negative restrictions of the problem.
 Optimal (Optimum) Solution
A feasible solution to a LinearProgramming Problem is said to be optimum if it optimises the objective function, Z,of the problem.
 Basic feasible solution
A feasible solution to a Linear Programming Problem in which the vectors associated to non zero variables are linearly independent is
called a basic feasible solution.
 Slack variables
If a constraint has a sign ≤ (less than or equal to) then in order to make it an equality (=) we have to add some variable to the left hand side.
Thesearecalled the slack variables. Thevalue of this variable can usually be interpreted as the amountof unused resources.
For example, consider the constraint: 2x1+ x2≤ 800
Inorder to convert the constraint into equation we add s, to L. H. S.
thenwe have 2x1+ x₂ + S₁ = 800.ThenS, is the slack variable.
12-08-2022 22
 Surplus variables
Ifa constraint has sign≥ ,thenin orderto makeit anequality have to subtract some variable from its L. H. S. Thesearecalled surplus variables.
Thevalue of this variable can be interpreted as the amountover andabove the requiredminimumlevel.
For example, consider the constraint: 2x₁ + 4x2≥ 12
Inorder to convert this into an equation we subtract s₂from the LHS of the inequality.
Then2x1+ 4x2-S2= 12.Hence s2 is the surplus variable.
12-08-2022 23
How to construct a simplex table ?
 Simplextableconsistsofrowsandcolumns.
 If there are 'm' original variables and 'n' introduced variables, then there will be 3 + m +n columns in the simplex table.
[Introducedvariablesareslack,surplusorartificialvariables].
 First column (B) contains the basic variables. Second column (C) shows the coefficient of the basic variables in the objective
function.
 Third column (XB) gives the values of basic variables. Each of next 'm+n' columns contain coefficient of variables in the
constraints,when theyareconvertedintoequations.
12-08-2022 24
 Basis (B)
Thevariables whose values are not restricted to zero in the currentbasic solution, arelisted in one column of the simplex table knownas
Basis (B).
 Basic variables
Thevariables which arelisted in the basis arecalled basic variables and others areknownas nonbasic variables.
 Vector
Anycolumn or row of a simplex table is called a vector.
Eg; X₁ - vector, X₂ -vector etc.
Ina simplex table, thereis a vector associated with every variable. Thevectors associated with the basic variables are unitvectors.
 UnitVector
A vector with one element 1and all other elements zero, is a unit vector.
12-08-2022 25
 Net Evaluation (Δj)
Δjis thenetprofitorlossif oneunitofthevariablein therespective columnis introduced.
Ie:, Δjshowswhatistheprofit(orloss)if oneunitofx;isintroduced.
TherowcontainingΔjvaluesis callednetevaluationroworindex row.
Δj =Zj-Cj
wherecj isthecoefficient ofxjvariablesin theobjective function
zjis thesum oftheproductsofcoefficientsofbasicvariables
12-08-2022 26
 MinimumRatio
Minimumratio is the lowest nonnegative ratio in the replacingratio column.
Θ( minimum ratio)= XB
Key Column Element
 KeyColumn (incomingvector)
The column whichhashighestnegativeΔjin a maximisationproblem or thehighestpositiveΔjin a minimisation problem
 Keyrow(outgoingvector)
The row whichrelatestothe minimumratio,is theOutgoingvector.
 Keyelement
Keyelementis thatelementof thesimplextable whichliesboth in thekeyrow and keycolumn.
 Iteration
Iterationmeansstepby stepprocessfollowed in simplex methodto movefrom one basic feasible solution to another
12-08-2022 27
12-08-2022 28

More Related Content

What's hot

Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
kongara
 
Dominance method
Dominance methodDominance method
Dominance method
pooja rani
 
Human Resource Development- framework
Human Resource Development- frameworkHuman Resource Development- framework
Human Resource Development- framework
Anugrah Tete
 
Factor analysis
Factor analysisFactor analysis
Factor analysis
saba khan
 
Rural marketing research new
Rural marketing research newRural marketing research new
Rural marketing research new
Ramendra Tripathi
 

What's hot (20)

Relationship of Managerial Economics with other disciplines,Difference betwee...
Relationship of Managerial Economics with other disciplines,Difference betwee...Relationship of Managerial Economics with other disciplines,Difference betwee...
Relationship of Managerial Economics with other disciplines,Difference betwee...
 
Tqm
TqmTqm
Tqm
 
Motivation and its theories
Motivation and its theoriesMotivation and its theories
Motivation and its theories
 
Managerial skills
Managerial skillsManagerial skills
Managerial skills
 
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
 
Job Analysis
Job AnalysisJob Analysis
Job Analysis
 
Dominance method
Dominance methodDominance method
Dominance method
 
Human Resource Development- framework
Human Resource Development- frameworkHuman Resource Development- framework
Human Resource Development- framework
 
Statistics for Management.pdf
Statistics for Management.pdfStatistics for Management.pdf
Statistics for Management.pdf
 
Marketing features
Marketing featuresMarketing features
Marketing features
 
UNIT II - DECISION THEORY - QTBD - I MBA - I SEM
UNIT II - DECISION THEORY - QTBD - I MBA - I SEMUNIT II - DECISION THEORY - QTBD - I MBA - I SEM
UNIT II - DECISION THEORY - QTBD - I MBA - I SEM
 
Factor analysis
Factor analysisFactor analysis
Factor analysis
 
Marketing Management Short Notes
Marketing Management Short NotesMarketing Management Short Notes
Marketing Management Short Notes
 
Decision making under uncertaionity
Decision making under uncertaionityDecision making under uncertaionity
Decision making under uncertaionity
 
Sales management
Sales managementSales management
Sales management
 
Rural marketing research new
Rural marketing research newRural marketing research new
Rural marketing research new
 
Introduction to Human Resource Management
Introduction to Human Resource ManagementIntroduction to Human Resource Management
Introduction to Human Resource Management
 
Behavioral Investor Types- Diagnostics about investors
Behavioral Investor Types- Diagnostics about investorsBehavioral Investor Types- Diagnostics about investors
Behavioral Investor Types- Diagnostics about investors
 
Sales Organisation
Sales OrganisationSales Organisation
Sales Organisation
 
Demand Analysis
Demand  AnalysisDemand  Analysis
Demand Analysis
 

Similar to Linear programming problem

Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
asthashukla33
 
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptxCHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
Godisgoodtube
 
linearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxlinearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptx
KOUSHIkPIPPLE
 
Limitations of linear programming
Limitations of linear programmingLimitations of linear programming
Limitations of linear programming
Tarun Gehlot
 

Similar to Linear programming problem (20)

Linear programming class 12 investigatory project
Linear programming class 12 investigatory projectLinear programming class 12 investigatory project
Linear programming class 12 investigatory project
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
Balaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptxBalaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptx
 
Unit.2. linear programming
Unit.2. linear programmingUnit.2. linear programming
Unit.2. linear programming
 
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptxCHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
CHAPTER 6 System Techniques in water resuorce ppt yadesa.pptx
 
linear programming
linear programming linear programming
linear programming
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
Unit-4-BSR-11-1-2024 (1)linear programming.pptx
Unit-4-BSR-11-1-2024 (1)linear programming.pptxUnit-4-BSR-11-1-2024 (1)linear programming.pptx
Unit-4-BSR-11-1-2024 (1)linear programming.pptx
 
Math
MathMath
Math
 
A brief study on linear programming solving methods
A brief study on linear programming solving methodsA brief study on linear programming solving methods
A brief study on linear programming solving methods
 
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
 
linearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxlinearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptx
 
1 resource optimization 2
1 resource optimization 21 resource optimization 2
1 resource optimization 2
 
A Comparative Analysis Of Assignment Problem
A Comparative Analysis Of Assignment ProblemA Comparative Analysis Of Assignment Problem
A Comparative Analysis Of Assignment Problem
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Chapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfChapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdf
 
Limitations of linear programming
Limitations of linear programmingLimitations of linear programming
Limitations of linear programming
 
A0280115(1)
A0280115(1)A0280115(1)
A0280115(1)
 

More from POOJA UDAYAN

More from POOJA UDAYAN (20)

module 2 environmental studies /Ecosystem
module 2 environmental studies /Ecosystemmodule 2 environmental studies /Ecosystem
module 2 environmental studies /Ecosystem
 
Environmental studies and Natural resources BBA
Environmental studies and Natural resources BBAEnvironmental studies and Natural resources BBA
Environmental studies and Natural resources BBA
 
PPT Concentration Strategies, Strategic management
PPT Concentration Strategies, Strategic managementPPT Concentration Strategies, Strategic management
PPT Concentration Strategies, Strategic management
 
Executive Business Communication MBA notes
Executive Business Communication MBA  notesExecutive Business Communication MBA  notes
Executive Business Communication MBA notes
 
Performance management module 2 Kerala University
Performance management module 2 Kerala UniversityPerformance management module 2 Kerala University
Performance management module 2 Kerala University
 
PERFORMANCE MANAGEMENT kerala University
PERFORMANCE MANAGEMENT kerala UniversityPERFORMANCE MANAGEMENT kerala University
PERFORMANCE MANAGEMENT kerala University
 
: BPR IMPLEMENTAION AND TOOLS THAT SUPPORT BPR
: BPR IMPLEMENTAION AND TOOLS THAT SUPPORT BPR: BPR IMPLEMENTAION AND TOOLS THAT SUPPORT BPR
: BPR IMPLEMENTAION AND TOOLS THAT SUPPORT BPR
 
Environmental Policies and Programmes in India.pptx
Environmental Policies and Programmes in India.pptxEnvironmental Policies and Programmes in India.pptx
Environmental Policies and Programmes in India.pptx
 
Measurement of performance at Organisational Level.pptx
Measurement of performance at Organisational Level.pptxMeasurement of performance at Organisational Level.pptx
Measurement of performance at Organisational Level.pptx
 
Performance management
Performance managementPerformance management
Performance management
 
Role of Mobile Application Acceptance in Shaping E-Customer service
Role of Mobile Application Acceptance in Shaping E-Customer  serviceRole of Mobile Application Acceptance in Shaping E-Customer  service
Role of Mobile Application Acceptance in Shaping E-Customer service
 
BUSINESS COMMUNICATION
BUSINESS COMMUNICATIONBUSINESS COMMUNICATION
BUSINESS COMMUNICATION
 
hrm unit
hrm unit hrm unit
hrm unit
 
Service Operations Management.pptx
Service Operations Management.pptxService Operations Management.pptx
Service Operations Management.pptx
 
Service OM.pptx
Service OM.pptxService OM.pptx
Service OM.pptx
 
EBC module 2 part 1.pptx
EBC module 2 part 1.pptxEBC module 2 part 1.pptx
EBC module 2 part 1.pptx
 
Executive bus commn mod 1.pptx
Executive bus commn mod 1.pptxExecutive bus commn mod 1.pptx
Executive bus commn mod 1.pptx
 
consumer protection Act part 1.pdf
consumer protection Act part 1.pdfconsumer protection Act part 1.pdf
consumer protection Act part 1.pdf
 
Management information system
Management information systemManagement information system
Management information system
 
Strategic management mod 2/unit 2
Strategic management mod 2/unit 2Strategic management mod 2/unit 2
Strategic management mod 2/unit 2
 

Recently uploaded

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 

Recently uploaded (20)

dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 

Linear programming problem

  • 1. Linear Programming Problem (LPP) Formulation, Graphical Method, Simplex Method, Dual LPP, Basic Concepts of Sensitivity Analysis. 12-08-2022 1
  • 2. Linear Programming Problem (LPP)  Linear Programming is a mathematical technique useful for allocation of ‘scarce’ or ‘limited’ resources, to several competingactivitiesonthebasisofagivencriterion ofoptimality.  It dealswith theoptimization(maximizationorminimization)ofa functionofvariablesknownasobjective functions.  SometimesreferredtoasLINEAROPTIMISATION  Thewordlinearreferstolinear relationshipamongvariablesin amodel.  Thetermprogrammingreferstotheprocessofdetermining a particularprogrammeorplanofaction. 12-08-2022 2
  • 3.  Linear Programming may be defined as a method of determining an optimum programme of interdependent activities in view of availableresources.  The objective in a Linear Programming Problem is to maximise profit or minimise cost, as the case may be, subject toa number of limitationsknownasconstraints.  Forthis,anobjective functionisconstructedwhichrepresentstotalprofitortotalcostasthe casemaybe.  The constraints are expressed in the form of inequalities or equations. Both the objective function and the constraints are linear relationshipbetweenthevariables.  The solution to a Linear Programming Problem shows how much should be produced (or sold or purchased) which will optimise theobjectivefunctionandsatisfytheconstraints. 12-08-2022 3
  • 4. Components of LPP: 1.Decision Variables:Thedecision variablewilldecide theo/p. It gives theultimatesolutiontothe problem.Foranyproblem1st stepistoidentifythedecision variables. 2.Constraints:Theremustbelimitation ofResources.Theygive risetoconstraints.It maybeequalitiesorinequalities. 3.Objective function:It representshoweach decision variablewouldaffectthecost orsimplythe Valueneedstobeoptimised. 4.Data:Thesequantifytherelationshipsbetween obj:Fn andtheconstraints 12-08-2022 4
  • 5. Essential ingredients/characteristics ofLPP 1. The objective function In its general form,it is representedas: Optimize(MaximizeorMinimize) Z=c1x1+c2x2+. . .+cnxn wherec1,c2,c3………..cn areconstants x1,x2,x3………..xn areDecision Variables. 2) Linear Constraints There are a set of restrictions imposed on the variables appearing in the objective function. These restrictions are due to the limitationsofresources. Therestrictionsareoftheform a₁x₁+a₂x₂+anx≥ b(or≤ b) wherea₁,a₂,….andbareconstants. Theremaybemorethanoneconstraint. 12-08-2022 5
  • 6. 3) Feasible solution: A feasiblesolutiontoalinearprogrammingproblemisa setofvaluesforthevariablesX₁,X₂,............ Xnwhich satisfytheconstraints. 4) Optimal solution: There can be one or more feasible solutions to a linear programming problem. A feasible solution which optimises the objective functionisknownasoptimalsolution. 12-08-2022 6
  • 7.  FormationofMathematicalmodelto a linear programmingproblem Step1 :Identifytheobjectives asmaximisationorminimisation. Step2:Mention theobjective quantitativelyandexpressit asa linearfunctionofvariables,knownasobjective function. Step 3: Identify the constraints which are conditions stipulated in the problem. Constraints are those relating to availability of resources, or conditions on quantities to be purchased or produced or sold etc. Constraints are expressed in the form of linear inequalitiesorequations. 12-08-2022 7
  • 9. PROBLEMS Ex. 1:Amanufacturerof furnituremakestwo products,chairsandtables. Processingof theseproductsisdone on two machines A and B. A chair requires 2 hours on machine A and 6 hours on machine B. A table requires 5 hours on machine A andno time on machine B. There are 16 hours of time per day available on machine A and 30 hours on machine B. Profit gained by the manufacturer from a chair is Re. I and from a table is Rs. 5 respectively. Formulate theproblem into aL.P.P.inorder to maximizethe totalprofit. 12-08-2022 9
  • 12. Ex. 2: A home resourceful decorator manufacturers two types of Lamps say A and B. Both lamps go through two technicians first a cutter and second a finisher. Lamp A requires 2 hours of the cutter's time and 1 hour of the finisher's time; Lamp B requires 1 hour of cutter's and 2 hours of finisher's time. The cutter has 104 hours and finisher has 76 hours of available time each month. Profit on the Lamp A is Rs. 6.00 and on one B lamp is Rs. 11.00.Formulate amathematicalmodel. 12-08-2022 12
  • 16. Solution to LPP An LPP canbe solved by 1) Graphical Method 2) Simplex method 12-08-2022 16
  • 18. Q:Draw lines corresponding to the equation x=0,y=0,x=3,y=2, 3x+4y=12 12-08-2022 18
  • 21. SIMPLEX METHOD  If theLPPhaslargernumberofvariables,thesuitablemethod ofsolvingis Simplexmethod.  Simplex method is a Linear Programming technique in which we start with a certain solution which is feasible. We improve this solutionin anumberof consecutivestagesuntilwearriveatanoptimalsolution.  For arriving at the solution of LPP by this method, the constraints and the objective function are presented in a table known as simplextable.  Itisan iterative(step by step)procedurein which weproceedin systematicstepsfroman initial BasicFeasible Solution toanother Basic Feasible Solution and finally, in a finite number of steps to an optimal basic feasible solution, in such a way that the value of theobjectivefunctionisbetter 12-08-2022 21
  • 22.  Feasible solution Itis the set of values of thevariables whichsatisfy all the constraints and non-negative restrictions of the problem.  Optimal (Optimum) Solution A feasible solution to a LinearProgramming Problem is said to be optimum if it optimises the objective function, Z,of the problem.  Basic feasible solution A feasible solution to a Linear Programming Problem in which the vectors associated to non zero variables are linearly independent is called a basic feasible solution.  Slack variables If a constraint has a sign ≤ (less than or equal to) then in order to make it an equality (=) we have to add some variable to the left hand side. Thesearecalled the slack variables. Thevalue of this variable can usually be interpreted as the amountof unused resources. For example, consider the constraint: 2x1+ x2≤ 800 Inorder to convert the constraint into equation we add s, to L. H. S. thenwe have 2x1+ x₂ + S₁ = 800.ThenS, is the slack variable. 12-08-2022 22
  • 23.  Surplus variables Ifa constraint has sign≥ ,thenin orderto makeit anequality have to subtract some variable from its L. H. S. Thesearecalled surplus variables. Thevalue of this variable can be interpreted as the amountover andabove the requiredminimumlevel. For example, consider the constraint: 2x₁ + 4x2≥ 12 Inorder to convert this into an equation we subtract s₂from the LHS of the inequality. Then2x1+ 4x2-S2= 12.Hence s2 is the surplus variable. 12-08-2022 23
  • 24. How to construct a simplex table ?  Simplextableconsistsofrowsandcolumns.  If there are 'm' original variables and 'n' introduced variables, then there will be 3 + m +n columns in the simplex table. [Introducedvariablesareslack,surplusorartificialvariables].  First column (B) contains the basic variables. Second column (C) shows the coefficient of the basic variables in the objective function.  Third column (XB) gives the values of basic variables. Each of next 'm+n' columns contain coefficient of variables in the constraints,when theyareconvertedintoequations. 12-08-2022 24
  • 25.  Basis (B) Thevariables whose values are not restricted to zero in the currentbasic solution, arelisted in one column of the simplex table knownas Basis (B).  Basic variables Thevariables which arelisted in the basis arecalled basic variables and others areknownas nonbasic variables.  Vector Anycolumn or row of a simplex table is called a vector. Eg; X₁ - vector, X₂ -vector etc. Ina simplex table, thereis a vector associated with every variable. Thevectors associated with the basic variables are unitvectors.  UnitVector A vector with one element 1and all other elements zero, is a unit vector. 12-08-2022 25
  • 26.  Net Evaluation (Δj) Δjis thenetprofitorlossif oneunitofthevariablein therespective columnis introduced. Ie:, Δjshowswhatistheprofit(orloss)if oneunitofx;isintroduced. TherowcontainingΔjvaluesis callednetevaluationroworindex row. Δj =Zj-Cj wherecj isthecoefficient ofxjvariablesin theobjective function zjis thesum oftheproductsofcoefficientsofbasicvariables 12-08-2022 26
  • 27.  MinimumRatio Minimumratio is the lowest nonnegative ratio in the replacingratio column. Θ( minimum ratio)= XB Key Column Element  KeyColumn (incomingvector) The column whichhashighestnegativeΔjin a maximisationproblem or thehighestpositiveΔjin a minimisation problem  Keyrow(outgoingvector) The row whichrelatestothe minimumratio,is theOutgoingvector.  Keyelement Keyelementis thatelementof thesimplextable whichliesboth in thekeyrow and keycolumn.  Iteration Iterationmeansstepby stepprocessfollowed in simplex methodto movefrom one basic feasible solution to another 12-08-2022 27