Linear Programming (graphical + simplex with duality) Based on Linear optimization in application by Sui lan Tang. Linear Programme (LP) for Optimization.

Slides:



Advertisements
Similar presentations
Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual Problem:
Advertisements

© 2003 Anita Lee-Post Linear Programming Part 2 By Anita Lee-Post.
Lesson 08 Linear Programming
LIAL HORNSBY SCHNEIDER
Linear Programming Problem
Session II – Introduction to Linear Programming
LECTURE 14 Minimization Two Phase method by Dr. Arshad zaheer
OR Simplex method (algebraic interpretation) Add slack variables( 여유변수 ) to each constraint to convert them to equations. (We may refer it as.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan/ Department of Mathematics and CS/ Linear Programming in two dimensions:
Managerial Decision Modeling with Spreadsheets
Quantitative Techniques for Decision Making M.P. Gupta & R.B. Khanna © Prentice Hall India LINEAR PROGRAMMING GRAPHIC METHOD 2 CHAPTER.
Q 2-31 Min 3A + 4B s.t. 1A + 3B ≧ 6 B = - 1/3A + 2 1A + 1B ≧ 4
1 2TN – Linear Programming  Linear Programming. 2 Linear Programming Discussion  Requirements of a Linear Programming Problem  Formulate:  Determine:Graphical.
Linear Programming. Linear programming A technique that allows decision makers to solve maximization and minimization problems where there are certain.
LINEAR PROGRAMMING: THE GRAPHICAL METHOD
6  Graphing Systems of Linear Inequalities in Two Variables  Linear Programming Problems  Graphical Solutions of Linear Programming Problems  The Simplex.
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.
Linear Programming Models: Graphical and Computer Methods
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
Chapter 19 Linear Programming McGraw-Hill/Irwin
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS ST. EDWARD’S UNIVERSITY.
Lecture 2 Chapter 10 continued…. Last Lecture Summary: Covered Sec and most part of Sec Basic concepts of Linear Programming Problem and.
1 1 Slide Linear Programming (LP) Problem n A mathematical programming problem is one that seeks to maximize an objective function subject to constraints.
Chapter 6 Supplement Linear Programming.
Graphing Linear Inequalities in Two Variables Chapter 4 – Section 1.
Linear Programming Terminology. Contents 1.What is a Mathematical Model? 2.Illustration of LPP: Maximization Case 3.What.
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.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Linear Programming Introduction: Linear programming(LP) is a mathematical optimization technique. By “Optimization” technique we mean a method which attempts.
5.3 Geometric Introduction to the Simplex Method The geometric method of the previous section is limited in that it is only useful for problems involving.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
3  Graphing Systems of Linear Inequalities in Two Variables  Linear Programming Problems  Graphical Solutions of Linear Programming Problems  Sensitivity.
Chapter 2 Introduction to Linear Programming n Linear Programming Problem n Problem Formulation n A Maximization Problem n Graphical Solution Procedure.
Linear Programming Erasmus Mobility Program (24Apr2012) Pollack Mihály Engineering Faculty (PMMK) University of Pécs João Miranda
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
Business Mathematics MTH-367 Lecture 13. Chapter 10 Linear Programming An Introduction Continued…
What is Calculus? To a Roman in the days of the empire, a “calculus” was a pebble used in counting and gambling. Centuries later, “calculare” came to mean.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
Linear Programming Short-run decision making model –Optimizing technique –Purely mathematical Product prices and input prices fixed Multi-product production.
Linear Programming Department of Business Administration FALL by Asst. Prof. Sami Fethi.
© 2009 Prentice-Hall, Inc. 7 – 1 Decision Science Chapter 3 Linear Programming: Maximization and Minimization.
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Business Mathematics MTH-367 Lecture 14. Last Lecture Summary: Finished Sec and Sec.10.3 Alternative Optimal Solutions No Feasible Solution and.
Linear Programming Models: Graphical and Computer Methods 7 To accompany Quantitative Analysis for Management, Twelfth Edition, by Render, Stair, Hanna.
Introduction to Linear Programming Romil Jain. The Nutrition Problem Each fruit contains different nutrients Each fruit has different cost An apple a.
An Introduction to Linear Programming
Linear Programming.
Engineering Economics (2+0)
An Introduction to Linear Programming Pertemuan 4
A seminar talk on “SOLVING LINEAR PROGRAMMING PROBLEM BY GRAPHICAL METHOD” By S K Indrajitsingha M.Sc.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Copyright © Cengage Learning. All rights reserved.
Linear Programming Prof. Sweta Shah.
Chapter 3 The Simplex Method and Sensitivity Analysis
Lial/Hungerford/Holcomb/Mullins: Mathematics with Applications 11e Finite Mathematics with Applications 11e Copyright ©2015 Pearson Education, Inc. All.
Linear Programming I: Simplex method
Systems Analysis Methods
Linear Programming Problem
Linear Programming.
Presentation transcript:

Linear Programming (graphical + simplex with duality) Based on Linear optimization in application by Sui lan Tang. Linear Programme (LP) for Optimization There are two methods used, namely: 1) Graphical - solving LP with 2 decision variables Starting with LP, the simpler variety of programming problems, in which the objective function as well as the constraint inequalities are all linear – with the meaning that the equations do not have exponentials. 2) Simplex: solve any number of decision variables – Primal and dual are the two terms used in LP to denote equation. For example if the primal is maximization then it is changed into minimization and vice versa. The changed equation is dual and the process is duality.

Simple example of linear programme (Chang, 1984) The essence of linear programming can best be conveyed by means of concrete examples: Problem of diet: To maintain good health, a person must fulfill certain minimum daily requirements of nutrients and for sake of convenience, Calcium, Protein and vitamin A. Assume that a person’s diet is to consist of only two types of food items: I and II whole price and nutrient contents are given in table 1.

What combination of the two food items will satisfy the daily requirement and entail the least cost? If we denote the quantities of food to be purchased each day by X 1 and X 2 (regarded as continuous variables), the problem can be stated mathematically as follows: Minimize C = 0.6 X X 2

Subjected to10 X 1 + 4X 2 ≥ 20 (calcium constraint) 5X 1 + 5X 2 ≥ 20 (Protein constraint) 2X 1 + 6X 2 ≥ 12 (Vitamin A constraint) and X 1, X 2 ≥ 0

The first equation is the cost function based on price information in the table-1, constitutes the objective function of the linear program: here the function is to be minimized. The three equations that follow are the constraints necessitated by the daily requirements, these are readily translated from the last three rows of the table. Lastly, X 1, X 2 ≥ 0 referred to as non negativity constraints. Hence, there are three essential ingredients in a linear program: an objective function, a set of constraints, and a set of non negativity restrictions.

The graphical solution: The above mentioned problem involves only two choice variables and hence is suitable for graphical solution. Let us plot X 1 and X 2 on the two axes. Because of the non negativity restrictions, we have to consider only non negative quadrant. For the sake of convenience, we assume that three constraints are given as equations and plot them as three straight lines as given in figure -1.

Each of these lines (calcium, protein and vitamin A borders respectively) represent the three constraints and point (1,2) for instance satisfies the vitamin A constraint but it fails the other two. The shaded area in figure 1b is called the feasible region and each point in this region is known as a feasible solution represented by heavily kinked boundary. In particular, the set of point in the horizontal axis (x 1, x 2 ) (x 1 ≥6, x 2 = 0) as well as the set of points on the vertical axis (x 1,x 2 ) (x 1 =0, x 2 ≥5) are also members of feasible region.

The points (3,1) and (2/3, 3 1/3) and axix (0,5) and (6,0) are referred as extreme points which will prove of great significance in the solution. The points in the feasible region satisfy all the constraints as well as the non negativity restrictions, but some of these would entail lower purchase cost than others. We can write the cost function as: X 2 = C – 0.6 X 1 Putting C = 1 and X 2 = 0, we get -1 = -0.6 X 1 or X 1 = 1.7 Again putting X 1 = 0, then X 2 = 1 Thus we get cost line (dotted line) given in figure1b.

Parallel of the cost line, iso-cost line touches the extreme point at (3,1), it follows that the minimized cost of diet calculated at the food prices given will amount to : C = 3*$ *$1.0 = $2.8 /day

We can also get the same result by solving: 5x 1 + 5x 2 = (i) 2x 1 + 6x 2 = (ii) From (i) 5x 1 = 20-5x 2 Or x1 = (20-5x 2 )/ (iii) Putting x1 in (ii) we get 2(20-5x 2 )/5 + 6x 2 = 12 (40-10x 2 )/5 + 6X 2 = 12 Or 8 – 2x 2 + 6x 2 = 12 Or 4x 2 = 12-8 Therefore x 2 = 1 Putting value of x 2 in (iii) We get X 1 = (20-5*1)/5 = 15/5 = 3 We can find (x 1,x 2 ) = (3,1)

Price change: The slope of iso-cost -0.6/1.0 = -0.6 may change but there are different possibilities. First, two prices change in exactly same proportion then, the slope of iso-costs remain unchanged. In that situation, the original optimal solution continue to prevail. Second, the two prices may change in different proportion with minor difference, in such case the slope of iso-costs will undergo a small change, say from -0.6 to -0.4 or to by drawing a variety of a slope change of this magnitude will still leave the original optimal solution unaffected. Thus, unlike the point of tangency in differential calculus, the point of contact (the optimal corner) is insensitive to small changes in price parameters.

As, yet another possibility, suppose that both price now become equal, say at p 1 =p 2 =1 the lowest possible iso-cost will then contact the feasible region not at single point but along an entire edge of its boundary, with the result that each point on line segment extending from (3,1) to (2/3, 3 1/3) is equally optimal.

You can consider it as a blessing not a problem !!! because, it can now make possible some variation in menu. But for us, it is a retraction of our earlier statement that the optimal solutions are always to be found at extreme points – but still if we consider our attention to extreme points only, we run no risk of missing any better solution. We shall find that it is this line of thinking that underlies the so called “simplex” method of solution to be introduced later.

Thanks for your attention