LINEAR
PROGRAMMING
SUBMITTED BY:
JASJEET KAUR
A1000702021
MCA 2A
What is Linear Programming?
• Linear programming (LP) refers to a
technique to solve a specific class of
mathematical optimization problems.
• LP optimization problems have linear
objective functions and constraints
Standard Form
Let:

X1, X2, X3, ………, Xn = decision variables
Z = Objective function or linear function

Requirement: Maximization of the linear function Z.

Z = c1X1 + c2X2 + c3X3 + ………+ cnXn

subject to the following constraints:

…..Eq (1)
EXAMPLE
Graphical Solution to LP
Problem
•An equation of the form 4x1 + 5x2 = 1500 defines a straight line in
the x1-x2 plane. An inequality defines an area bounded by a
straight line. Therefore, the region below and including the line
4x1 + 5x2 = 1500 in the Figure represents the region defined by
4x1 + 5x2  1500.
•Same thing applies to other equations as well.
•The shaded area of the figure comprises the area common to all
the regions defined by the constraints and contains all pairs of xI
and x2 that are feasible solutions to the problem.
•This area is known as the feasible region or feasible solution
space. The optimal solution must lie within this region.
•Trying different solutions, the optimal solution will be: X1 = 270
AND X2 = 75
•This indicates that maximum income of $4335 is obtained by
producing 270 units of product I and 75 units of product II.
The Simplex Method
When decision variables are more than 2, it is always
advisable to use Simplex Method to avoid lengthy
graphical procedure.
The simplex method is not used to examine all the
feasible solutions.

It deals only with a small and unique set of feasible
solutions, the set of vertex points (i.e., extreme points)
of the convex feasible space that contains the optimal
solution.
EXAMPLE:
Step I: Set up the initial table using
Step II: . Identify the variable that will be assigned a nonzero
value in the next iteration so as to increase the value of the
objective function. This variable is called the entering variable.
It is that nonbasic variable which is associated with the
smallest negative coefficient in the objective function.

If two or more nonbasic variables are tied with the smallest
coefficients, select one of these arbitrarily and continue

Step III: Identify the variable, called the leaving
variable, which will be changed from a nonzero to a zero
value in the next solution.
Step IV: . Enter the basic variables for the second tableau. The row
sequence of the previous tableau should be maintained, with the
leaving variable being replaced by the entering variable.
Step V: Compute the coefficients for the second tableau. A
sequence of operations will be performed so that at the end the x1
column in the second tableau will have the following coefficients:

The table gives the following feasible solution:
x1 = 315, x2 = 0, SI = 240, S2 = 0, S3 = 105, and Z = 4095
Duality
With every linear programming
problem, there is associated another linear
programming problem which is called the
dual of the original (or the primal) problem.
Example:
The dual of this problem can now be obtained as
follows
linear programming

More Related Content

PDF
Linear programming using the simplex method
PPT
simplex method
PPTX
Simplex Algorithm
PPTX
Linear programming
PPTX
Simplex method maximisation
PPTX
Simplex Method Flowchart/Algorithm
DOCX
Simplex method - Maximisation Case
Linear programming using the simplex method
simplex method
Simplex Algorithm
Linear programming
Simplex method maximisation
Simplex Method Flowchart/Algorithm
Simplex method - Maximisation Case

What's hot (19)

PPT
Artificial Variable Technique –
PDF
Numerical analysis dual, primal, revised simplex
PDF
Numerical analysis simplex method 1
PPTX
5. advance topics in lp
DOC
Procedure Of Simplex Method
PDF
Linear Programming (graphical method)
PPT
optimization simplex method introduction
PPTX
Lp graphical and simplexx892
PPT
L20 Simplex Method
PPTX
Assignment problem
PDF
Post-optimal analysis of LPP
PDF
LPP, Duality and Game Theory
PPT
Graphical Method
PPTX
Linear programming
PPTX
Lenier Equation
PPTX
Big m method
PPTX
graphical method
PPTX
Linear programming graphical method (feasibility)
PDF
Duality in Linear Programming Problem
Artificial Variable Technique –
Numerical analysis dual, primal, revised simplex
Numerical analysis simplex method 1
5. advance topics in lp
Procedure Of Simplex Method
Linear Programming (graphical method)
optimization simplex method introduction
Lp graphical and simplexx892
L20 Simplex Method
Assignment problem
Post-optimal analysis of LPP
LPP, Duality and Game Theory
Graphical Method
Linear programming
Lenier Equation
Big m method
graphical method
Linear programming graphical method (feasibility)
Duality in Linear Programming Problem
Ad

Similar to linear programming (20)

PPTX
Chapter 2 II SIMPLEX METHOD OF SOLVING LPP.pptx
PPTX
PPTX
Chapter 4: Linear Algebraic Equations
PPTX
Operation Research
PPTX
SIMPLEX METHOD.pptx
PPTX
Operation reasearch
PPTX
An overview of standard form, algorithm structure, and key concepts
PPTX
An overview of standard form, algorithm structure, and key concepts
PDF
Assignment 1
PPT
4-The Simplex Method.ppt
PDF
simplex method for operation research .pdf
PPTX
Lecture5-7_12946_Linear Programming The Graphical Method.pptx
PPTX
PPTX
Or graphical method, simplex method
PPTX
Operations Research
PPTX
Week 2 Rational Function, Equation and Inequality -Autosaved-.pptx
PPTX
OT-PPT Optimization Techniques in chemical process.pptx
PDF
LP linear programming (summary) (5s)
PPTX
EXPONENTIAL FUNCTION LESSON FIVE GRADE 11
PDF
CMR_Graphical Method -Special cases.pdf
Chapter 2 II SIMPLEX METHOD OF SOLVING LPP.pptx
Chapter 4: Linear Algebraic Equations
Operation Research
SIMPLEX METHOD.pptx
Operation reasearch
An overview of standard form, algorithm structure, and key concepts
An overview of standard form, algorithm structure, and key concepts
Assignment 1
4-The Simplex Method.ppt
simplex method for operation research .pdf
Lecture5-7_12946_Linear Programming The Graphical Method.pptx
Or graphical method, simplex method
Operations Research
Week 2 Rational Function, Equation and Inequality -Autosaved-.pptx
OT-PPT Optimization Techniques in chemical process.pptx
LP linear programming (summary) (5s)
EXPONENTIAL FUNCTION LESSON FIVE GRADE 11
CMR_Graphical Method -Special cases.pdf
Ad

Recently uploaded (20)

DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
CRP102_SAGALASSOS_Final_Projects_2025.pdf
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
Journal of Dental Science - UDMY (2022).pdf
PPTX
Climate Change and Its Global Impact.pptx
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
PDF
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2013).pdf
PDF
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
PDF
International_Financial_Reporting_Standa.pdf
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
HVAC Specification 2024 according to central public works department
Cambridge-Practice-Tests-for-IELTS-12.docx
Unit 4 Computer Architecture Multicore Processor.pptx
CRP102_SAGALASSOS_Final_Projects_2025.pdf
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Introduction to pro and eukaryotes and differences.pptx
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Journal of Dental Science - UDMY (2022).pdf
Climate Change and Its Global Impact.pptx
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
LIFE & LIVING TRILOGY - PART (3) REALITY & MYSTERY.pdf
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2013).pdf
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
International_Financial_Reporting_Standa.pdf
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
FORM 1 BIOLOGY MIND MAPS and their schemes
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
HVAC Specification 2024 according to central public works department

linear programming

  • 2. What is Linear Programming? • Linear programming (LP) refers to a technique to solve a specific class of mathematical optimization problems. • LP optimization problems have linear objective functions and constraints
  • 3. Standard Form Let: X1, X2, X3, ………, Xn = decision variables Z = Objective function or linear function Requirement: Maximization of the linear function Z. Z = c1X1 + c2X2 + c3X3 + ………+ cnXn subject to the following constraints: …..Eq (1)
  • 6. •An equation of the form 4x1 + 5x2 = 1500 defines a straight line in the x1-x2 plane. An inequality defines an area bounded by a straight line. Therefore, the region below and including the line 4x1 + 5x2 = 1500 in the Figure represents the region defined by 4x1 + 5x2  1500. •Same thing applies to other equations as well. •The shaded area of the figure comprises the area common to all the regions defined by the constraints and contains all pairs of xI and x2 that are feasible solutions to the problem. •This area is known as the feasible region or feasible solution space. The optimal solution must lie within this region. •Trying different solutions, the optimal solution will be: X1 = 270 AND X2 = 75 •This indicates that maximum income of $4335 is obtained by producing 270 units of product I and 75 units of product II.
  • 7. The Simplex Method When decision variables are more than 2, it is always advisable to use Simplex Method to avoid lengthy graphical procedure. The simplex method is not used to examine all the feasible solutions. It deals only with a small and unique set of feasible solutions, the set of vertex points (i.e., extreme points) of the convex feasible space that contains the optimal solution.
  • 9. Step I: Set up the initial table using
  • 10. Step II: . Identify the variable that will be assigned a nonzero value in the next iteration so as to increase the value of the objective function. This variable is called the entering variable. It is that nonbasic variable which is associated with the smallest negative coefficient in the objective function. If two or more nonbasic variables are tied with the smallest coefficients, select one of these arbitrarily and continue Step III: Identify the variable, called the leaving variable, which will be changed from a nonzero to a zero value in the next solution.
  • 11. Step IV: . Enter the basic variables for the second tableau. The row sequence of the previous tableau should be maintained, with the leaving variable being replaced by the entering variable.
  • 12. Step V: Compute the coefficients for the second tableau. A sequence of operations will be performed so that at the end the x1 column in the second tableau will have the following coefficients: The table gives the following feasible solution: x1 = 315, x2 = 0, SI = 240, S2 = 0, S3 = 105, and Z = 4095
  • 13. Duality With every linear programming problem, there is associated another linear programming problem which is called the dual of the original (or the primal) problem.
  • 15. The dual of this problem can now be obtained as follows