Linear Programming Introduction. linear function linear constraintsA Linear Programming model seeks to maximize or minimize a linear function, subject.

Slides:



Advertisements
Similar presentations
1Introduction to Linear ProgrammingLesson 2 Introduction to Linear Programming.
Advertisements

Chapter 19 – Linear Programming
LINEAR PROGRAMMING (LP)
LINEAR PROGRAMMING SENSITIVITY ANALYSIS
Linear Programming Problem. Introduction Linear Programming was developed by George B Dantzing in 1947 for solving military logistic operations.
Linear Programming.
Planning with Linear Programming
Session II – Introduction to Linear Programming
Chapter 2: Modeling with Linear Programming & sensitivity analysis
Linear Programming Sensitivity of the Right Hand Side Coefficients.
Linear and Integer Programming Models
Operations Management Linear Programming Module B - Part 2
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Linear Programming: Formulations & Graphical Solution.
19 Linear Programming CHAPTER
Linear Programming Solution Techniques: Graphical and Computer Methods
Linear Programming Building Good Linear Models And Example 1 Sensitivity Analyses, Unit Conversion, Summation Variables.
Operations Management
Chapter 2: Introduction to Linear Programming
An Introduction to Linear Programming : Graphical and Computer Methods
Linear and Integer Programming Models
6s-1Linear Programming CHAPTER 6s Linear Programming.
LINEAR PROGRAMMING SENSITIVITY ANALYSIS
1 1 Slide LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
Linear Programming Example 2 Alternate Optimal Solutions.
Linear-Programming Applications
Linear Programming.
Solver Linear Problem Solving MAN Micro-computers & Their Applications.
Linear programming. Linear programming… …is a quantitative management tool to obtain optimal solutions to problems that involve restrictions and limitations.
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 Sensitivity of the Objective Function Coefficients.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Linear Programming Models Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
Linear Programming: Basic Concepts
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 6S Linear Programming.
Linear Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
STDM - Linear Programming 1 By Isuru Manawadu B.Sc in Accounting Sp. (USJP), ACA, AFM
Linear and Integer Programming Models 1 Chapter 2.
1 DSCI 3023 Linear Programming Developed by Dantzig in the late 1940’s A mathematical method of allocating scarce resources to achieve a single objective.
1 Additional examples LP Let : X 1, X 2, X 3, ………, X n = decision variables Z = Objective function or linear function Requirement: Maximization of the.
CDAE Class 11 Oct. 3 Last class: Result of Quiz 2 2. Review of economic and business concepts Today: Result of Quiz 2 3. Linear programming and applications.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
Chapter 6 Supplement Linear Programming.
Managerial Decision Making and Problem Solving
BUSINESS MATHEMATICS & STATISTICS. LECTURE 45 Planning Production Levels: Linear Programming.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1 Linear and Integer Programming Models Chapter 2.
CDAE Class 12 Oct. 5 Last class: Quiz 3 3. Linear programming and applications Today: Result of Quiz 3 3. Linear programming and applications Next.
Linear Programming Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
1 Max 8X 1 + 5X 2 (Weekly profit) subject to 2X 1 + 1X 2  1000 (Plastic) 3X 1 + 4X 2  2400 (Production Time) X 1 + X 2  700 (Total production) X 1.
1 Linear Programming (LP) 線性規劃 - George Dantzig, 1947.
CDAE Class 13 Oct. 10 Last class: Result of Quiz 3 3. Linear programming and applications Class exercise 5 Today: 3. Linear programming and applications.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
1 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.
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.
CDAE Class 12 Oct. 4 Last class: 2. Review of economic and business concepts Today: 3. Linear programming and applications Quiz 3 (sections 2.5 and.
LINEAR PROGRAMMING.
OPSM 301 Operations Management Class 11: Linear Programming using Excel Koç University Zeynep Aksin
Adeyl Khan, Faculty, BBA, NSU 1 Introduction to Linear Programming  A Linear Programming model seeks to maximize or minimize a linear function, subject.
1 Simplex algorithm. 2 The Aim of Linear Programming A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear.
6s-1Linear Programming William J. Stevenson Operations Management 8 th edition.
LP Galaxy problem riješen SOLVEROM Prof. dr Lazo Roljić.
Linear Programming Chapter 14 Supplement Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
1 Linear Programming 2 A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints. The linear.
Linear Programming.
Linear Programming Building Good Linear Models And Example 1
Linear Programming Introduction.
Optimization Theory Linear Programming
Linear Programming Introduction.
Presentation transcript:

Linear Programming Introduction

linear function linear constraintsA Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear constraints. What is Linear Programming?

What are linear functions? y = mx+b is the equation of a straight line –e.g. y = -4/3 x +6 –Multiplying by 3 and rearranging: 4x + 3y = 18 Linear function in 2 variables linear function A linear function consists of the sum of positive, negative or 0 constants times variables; e.g. 5X 1 - 4X 2 + 0X 3 + 6X 4 is a linear function in 4 variables. No X 1 2, X 1 /X 2, e -X2,  X 1, etc.

What are Linear Constraints? Linear constraints have the form: –The relation is one of the following: , =,  ---- they all contain the “equal to” part Examples: 4X 1 + 5X 2 - 6X 3 + 2X 5  34 2X 1 - 5X 2 + 1X 4  X 2 + 8X 3 + 9X 4 + 2X 5 = 67 X 1  0 X 5  0

Example of a Linear Program MAX 4X 1 + 7X 3 - 6X 4 s.t. 2X 1 + 3X 2 - 2X 4 = X 2 + 9X 3 + 7X 4  10 -2X 1 + 3X 2 + 4X 3 + 8X 4  35 X 2  5 All X’s  0 Subject to X 1  0, X 2  0, X 3  0, X 4  0

Another Example MIN 6X 1 + 8X X X 4 + 5X X 6 S.T.X 1 + X 2 + X 3  20 X 4 + X 5 + X 6  30 X 1 + X 4 = 12 X 2 + X 5 = 15 X 3 + X 6 = 22 All X’s  0

Components of a Linear Programming Model A linear programming model consists of: – A set of decision variables – A (linear) objective function – A set of (linear) constraints

Why are Linear Programs Important? Many real world problems lend themselves to linear programming modeling. Other real world problems can be approximated by linear models. There are well-known successful applications in: –Manufacturing, Marketing, Finance (investment), Advertising, Agriculture, Energy, etc. There are efficient solution techniques and software programs that solve linear programming models. The output generated from linear programming packages provides useful “what if” analysis.

Linear Programming Assumptions certaintyThe parameter values are known with certainty. constant returns to scaleThe objective function and constraints exhibit constant returns to scale. no interactionsThere are no interactions between the decision variables (additivity assumption). ContinuityContinuity of the decision variables means they can take on any value within a given feasible range. –Integer programming models can only take on integer values within a given feasible range.

Example Galaxy Industries manufactures two toy gun models:Galaxy Industries manufactures two toy gun models: –Space Rays: –Space Rays: Each dozen nets an $8 profit and Requires 2 lbs. of plastic; 3 minutes of production time –Zappers: –Zappers: Each dozen nets a $5 profit and Requires 1 lb. of plastic; 4 minutes of production time Weekly resource limits 1000 pounds of plastic; 40 hours of production time Weekly production limitsWeekly production limits Maximum 700 dozen total units Space Rays cannot exceed Zappers by more than 350 dozen

Current reasoning calls for a production plan that: –Produces as much as possible of the more profitable product, Space Ray ($8 profit per dozen). –Uses any left over resources to produce Zappers ($5 profit per dozen), while remaining within the marketing guidelines of 700 total dozen produced and Space Rays – Zappers ≤ 350. Using a simple spreadsheet, letting the (cell for production of Zappers) = (cell for production of Space Rays – 350), trial and error gives the following good solution that uses all the available weekly plastic: Space Rays = 450 dozen; Zappers = 100 dozen; Profit = 8(450) + 5(100) = $4100 This is a good solution – Can we do better? Current Production

The Mathematical Model Recall a mathematical model consists of: –Set of decision variables –Objective function –Constraints 1.Decision Variables (Include both a measurement unit (dozens) and a time unit (week)) X 1 = dozens of Space Rays produced weekly X 2 = dozens of Zappers produced weekly

2. OBJECTIVE FUNCTION Objective is to maximize the total weekly profit. How much profit will be made each week? MAX 8X 1 + 5X 2 8X 1 How much profit will be made weekly from Space Rays? $8 per dozen Make X 1 dozen Space Rays per week How much profit will be made weekly from Zappers? $5 per dozen Make X 2 dozen Zappers per week + 5X 2

3. Constraints -- PLASTIC At most 1000 pounds of plastic available weekly. How much will be used? 2X 1 + 1X 2  X 1 How much plastic will be used weekly making Space Rays? 2 lbs per dozen Make X 1 dozen Space Rays per week How much plastic will be used weekly making Zappers? 1 lb per dozen Make X 2 dozen Zappers per week + 1X 2

Constraints -- Production Time At most 40 hours = 40x60 = 2400 minutes available weekly. How much will be used? 3X 1 + 4X 2  X 1 How many minutes will be used weekly making Space Rays? 3 min per dozen Make X 1 dozen Space Rays per week How many minutes will be used weekly making Zappers? 4 min per dozen Make X 2 dozen Zappers per week + 4X 2

Constraints -- Max Production At most 700 dozen total units can be produced weekly. How many will be produced? X 1 + X 2  700 X1X1X1X1 How many dozen Space Rays are produced weekly? Make X 1 dozen Space Rays per week How many dozen Zappers are Produced weekly? Make X 2 dozen Zappers per week + X2X2X2X2

Constraints -- Product Mix Space Rays can be at most 350 dozen units greater than Zappers each week. How many more dozen units of Space Rays will be produced weekly? X 1 - X 2  350 X1X1X1X1 How many dozen Space Rays are produced weekly? Make X 1 dozen Space Rays per week How many dozen Zappers are Produced weekly? Make X 2 dozen Zappers per week - X2X2X2X2 Amount (in dozens) Space Rays exceed Zappers

Constraints -- Nonnegativity Cannot produce a negative amount of Space Rays or Zappers X 1  0 X 2  0 All X’s  0 or

MAX8X 1 + 5X 2 s.t.2X 1 + 1X 2 ≤ 1000 (Plastic) 3X 1 + 4X 2 ≤ 2400 (Prod. Time) X 1 + X 2 ≤ 700 (Total Prod.) X 1 - X 2 ≤ 350 (Mix) All X’s ≥ 0 The Complete Galaxy Industries Linear Programming Model

Review A linear program seeks to maximize or minimize a linear objective subject to linear constraints. Many problems are or can be approximated by linear programming models. Linear programs possess the features of: –Certainty, Constant Returns to Scale, Additivity and Continuity There exists efficient algorithms for solving linear programs that provide many sensitivity analyses as a by-product.