Linear Programming Introduction.

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.
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
19 Linear Programming CHAPTER
Introduction to Management Science
Linear Programming Solution Techniques: Graphical and Computer Methods
Linear Programming Building Good Linear Models And Example 1 Sensitivity Analyses, Unit Conversion, Summation Variables.
Linear Programming Introduction. linear function linear constraintsA Linear Programming model seeks to maximize or minimize a linear function, subject.
An Introduction to Linear Programming : Graphical and Computer Methods
Linear and Integer Programming Models
6s-1Linear Programming CHAPTER 6s Linear Programming.
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.
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 -
1 LINEAR PROGRAMMING Introduction to Sensitivity Analysis Professor Ahmadi.
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.
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.
Adeyl Khan, Faculty, BBA, NSU 1 Introduction to Linear Programming  A Linear Programming model seeks to maximize or minimize a linear function, subject.
6s-1Linear Programming William J. Stevenson Operations Management 8 th edition.
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.
Supply Chain Management By Dr. Asif Mahmood Chapter 9: Aggregate Planning.
Class 10: Introduction to Linear Programming
Linear Programming.
Linear Programming Topics General optimization model
Linear Programming – Introduction
Introduction To Linear Programming
Linear Programming Topics General optimization model
Linear Programming Topics General optimization model
Linear Programming Topics General optimization model
Linear Programming Building Good Linear Models And Example 1
Integer Programming.
Optimization Theory Linear Programming
Linear Programming Introduction.
Dr. Arslan Ornek DETERMINISTIC OPTIMIZATION MODELS
Presentation transcript:

Linear Programming Introduction

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

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 A linear function consists of the sum of positive, negative or 0 constants times variables; e.g. 5X1 - 4X2 + 0X3 + 6X4 is a linear function in 4 variables. No X12, X1/X2, e-X2,X1, etc.

What are Linear Constraints? Linear constraints have the form: <Linear Function> <has some relation to> <a constant> The relation is one of the following: , = ,  ---- they all contain the “equal to” part Examples: 4X1 + 5X2 - 6X3 + 2X5  34 2X1 - 5X2 + 1X4  47 - 2X2 + 8X3 + 9X4 + 2X5 = 67 X1  0 X5  0

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

Another Example MIN 6X1 + 8X2 + 11X3 + 10X4 + 5X5 + 14X6 S.T. X1 + X2 + X3  20 X4 + X5 + X6  30 X1 + X4 = 12 X2 + X5 = 15 X3 + X6 = 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 The parameter values are known with certainty. The objective function and constraints exhibit constant returns to scale. There are no interactions between the decision variables (additivity assumption). Continuity 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: Space Rays: Each dozen nets an $8 profit and Requires 2 lbs. of plastic; 3 minutes of production time 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 limits Maximum 700 dozen total units Space Rays cannot exceed Zappers by more than 350 dozen

Current Production This is a good solution – Can we do better? 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?

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

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

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

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

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

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? How many dozen Space Rays are produced weekly? How many dozen Zappers are Produced weekly? Make X1 dozen Space Rays per week Make X2 dozen Zappers per week X1 - X2 Amount (in dozens) Space Rays exceed Zappers X1 - X2  350

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

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

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.