Linear Programming in Two Dimensions

Slides:



Advertisements
Similar presentations
3.4 Linear Programming.
Advertisements

How to find intersection of lines? Snehal Poojary.
Linear Programming Problem
Introduction Finding the solutions to a system of linear equations requires graphing multiple linear inequalities on the same coordinate plane. Most real-world.
CCMIII U2D4 Warmup This graph of a linear programming model consists of polygon ABCD and its interior. Under these constraints, at which point does the.
Chapter 5 Linear Inequalities and Linear Programming
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan/ Department of Mathematics and CS/ Linear Programming in two dimensions:
Learning Objectives for Section 5.3
Chapter 5 Linear Inequalities and Linear Programming Section 3 Linear Programming in Two Dimensions: A Geometric Approach.
Linear Programming Models: Graphical Methods
Linear Programming?!?! Sec Linear Programming In management science, it is often required to maximize or minimize a linear function called an objective.
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
Chapter 2: Introduction to Linear Programming
Optimization Linear Programming and Simplex Method
Objectives: Set up a Linear Programming Problem Solve a Linear Programming Problem.
Chapter 3 An Introduction to Linear Programming
1 1 Slide © 2009 South-Western, a part of Cengage Learning Slides by John Loucks St. Edward’s University.
FORMULATION AND GRAPHIC METHOD
1 1 Slide LINEAR PROGRAMMING: THE GRAPHICAL METHOD n Linear Programming Problem n Properties of LPs n LP Solutions n Graphical Solution n Introduction.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
1 1 Slide Linear Programming (LP) Problem n A mathematical programming problem is one that seeks to maximize an objective function subject to constraints.
L4 Graphical Solution Homework See new Revised Schedule Review Graphical Solution Process Special conditions Summary 1 Read for W for.
MATH 527 Deterministic OR Graphical Solution Method for Linear Programs.
Chapter 7 Introduction to Linear Programming
1 1 Slide © 2005 Thomson/South-Western Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization.
Systems of Inequalities in Two Variables Sec. 7.5a.
Linear Programming: A Geometric Approach3 Graphing Systems of Linear Inequalities in Two Variables Linear Programming Problems Graphical Solution of Linear.
D Nagesh Kumar, IIScOptimization Methods: M3L2 1 Linear Programming Graphical method.
Linear Programming Problem. Definition A linear programming problem is the problem of optimizing (maximizing or minimizing) a linear function (a function.
Systems Analysis Methods
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
3.4: Linear Programming Objectives: Students will be able to… Use linear inequalities to optimize the value of some quantity To solve linear programming.
3.4 Solving Systems of Linear Inequalities ©2001 by R. Villar All Rights Reserved.
© 2009 Prentice-Hall, Inc. 7 – 1 Decision Science Chapter 3 Linear Programming: Maximization and Minimization.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
3.3 Linear Programming. Vocabulary Constraints: linear inequalities; boundary lines Objective Function: Equation in standard form used to determine the.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
Sullivan Algebra and Trigonometry: Section 12.9 Objectives of this Section Set Up a Linear Programming Problem Solve a Linear Programming Problem.
Linear Programming: A Geometric Approach3 Graphing Systems of Linear Inequalities in Two Variables Linear Programming Problems Graphical Solution of Linear.
1 Optimization Linear Programming and Simplex Method.
1 Introduction to Linear Programming Linear Programming Problem Linear Programming Problem Problem Formulation Problem Formulation A Simple Maximization.
1 1 Slide Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an.
7. Linear Programming (Simplex Method)
Chapter 2 Linear Programming Models: Graphical and Computer Methods
An Introduction to Linear Programming
An Introduction to Linear Programming Pertemuan 4
Special Cases in simplex method applications
Chapter 2 An Introduction to Linear Programming
A seminar talk on “SOLVING LINEAR PROGRAMMING PROBLEM BY GRAPHICAL METHOD” By S K Indrajitsingha M.Sc.
Chapter 5 Linear Inequalities and Linear Programming
Systems of Equations and Inequalities
Linear Inequalities Solution to inequality in one variable – interval on number line Solution to inequality in two variables – points in the plane Graph.
Copyright © Cengage Learning. All rights reserved.
prepared by Imran Ismail
Chapter 5 Linear Inequalities and Linear Programming
3-3 Optimization with Linear Programming
Linear Programming Objectives: Set up a Linear Programming Problem
Graphing Systems of Inequalities
Chapter 3 Section 4.
Introduction Finding the solutions to a system of linear equations requires graphing multiple linear inequalities on the same coordinate plane. Most real-world.
Max Z = x1 + x2 2 x1 + 3 x2  6 (1) x2  1.5 (2) x1 - x2  2 (3)
Systems Analysis Methods
Graphical Solution of Linear Programming Problems
Linear Programming Problem
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Presentation transcript:

Linear Programming in Two Dimensions updated 22 January 2009

Consider the following LP LP1: Maximize X + 2Y Subject to: X + Y  4 (1) X - 2Y  2 (2) -2X + Y  2 (3) X  0 (4) Y  0 (5) This problem is in two dimensions and can be solved graphically.

Finding the Feasible Region We begin by graphing the constraints on an X-Y coordinate system to determine the set of all points that satisfy all the constraints. This set of points is known as the feasible region for the LP. Since both variables must be non-negative, we know that the feasible region must be within the first quadrant.

Graphing Constraints (1), (4), and (5) The set of solutions to the equation X + Y = 4 can be represented by the straight line passing through the points (4,0) and (0,4) in the X-Y plane. The shaded triangle on the next slide represents the set of points satisfying the constraint X + Y  4, X  0, Y  0.

Feasible Region With Respect to Constraints (1), (4), and (5)

Feasible Region With Respect to Constraints (1), (2), (4), and (5)

Feasible Region for LP1

Isoprofit Lines The line X + 2Y = 0 describes the set of points that have an objective function value of 0. The line X + 2Y = 2 describes the set of points that have an objective function value of 2 The line X + 2Y = 4 describes the set of points that have an objective function value of 4 The line X + 2Y = 6 describes the set of points that have an objective function value of 6 The line X + 2Y = 8 describes the set of points that have an objective function value of 8

Graphing the Isoprofit Lines

Graphing the Isoprofit Lines 6 < maximum Z < 8

Finding an Optimal Solution Graphically

The Optimal Solution to LP1 This occurs when we graph the line X + 2Y = 22/3 = 7.333 which intersects the feasible region at the point (2/3, 10/3). Since there are no feasible solutions with a greater objective function value than 22/3, we say that X = 2/3, Y = 10/3 is an optimal solution and that 22/3 is the optimal value for the objective function.

It is important to investigate how other objective functions might behave given the same feasible region.

Interior-Point Solutions Z(1,3) = 7 Z(1,2) = 5 Z(1,1) = 3

Corner-Point Solutions Z(2/3,10/3) = 7 1/3 Z(1,3) = 7 Z(4/3,1/3) = 4 2/3

The “Brute Force” Method Using the fact that if an LP has an optimal solution, then it has an extreme point solution, we can use a "brute force" method to find an optimal solution by: testing each extreme point to see if it is feasible and then comparing the objective function values. Recall that an extreme, or corner-point, solution is formed by the intersection of two of the constraints.

In our example we can identify the extreme points by labeling them A, B, C, D and E, as shown below.

Feasible Corner Points Point A is formed by the intersection of: X + Y = 4 and –2X + Y = 2 and similarly: B: X - 2Y = 2 and X + Y = 4 C: X - 2Y = 2 and Y = 0 D: X = 0 and Y = 0 E: -2X + Y = 2 and X = 0

The co-ordinate points of A give us the maximum objective function value. X-co-ord Y co-ord Obj. Val A .66 3.33 7.33 B 4.66 C 2 D E 4

Unique Optimal Solution

Other Special Cases of LP Adding the constraint Y  4 to the original LP makes the problem infeasible. Removing the constraint X + Y  4 from the original LP makes the problem unbounded. Changing the objective function of the original LP to maximize X + Y gives an LP with multiple optimal solutions.

An Infeasible LP

An Unbounded LP

An LP With Multiple Optima