3.4 Linear Programming.

Slides:



Advertisements
Similar presentations
Mixed integer linear programming
Advertisements

Linear Programming.
Linear Programming Problem
Linear Programming (LP) Decision Variables Objective (MIN or MAX) Constraints Graphical Solution.
LINEAR PROGRAMMING (LP)
Chapter 2: Modeling with Linear Programming & sensitivity analysis
2-1 Linear Programming: Model Formulation and Graphical Solution Chapter 2 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.
Linear Programming Models: Graphical Methods
8/27: Linear Programming Lecture: LP Small Groups Homework.
Managerial Decision Modeling with Spreadsheets
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
© 2008 Prentice-Hall, Inc. Chapter 7 To accompany Quantitative Analysis for Management, Tenth Edition, by Render, Stair, and Hanna Power Point slides created.
Chapter 8: Linear Programming
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 7-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 7 Linear.
Linear Programming Solution Techniques: Graphical and Computer Methods
Introduction to Management Science
B-1 Operations Management Linear Programming Module B.
1 2TN – Linear Programming  Linear Programming. 2 Linear Programming Discussion  Requirements of a Linear Programming Problem  Formulate:  Determine:Graphical.
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved by Prentice-Hall, Inc1  Model.
Linear Programming OPIM 310-Lecture 2 Instructor: Jose Cruz.
B-1 Operations Management Linear Programming Module B.
Introduction to Management Science
Linear Programming: Model Formulation and Graphical Solution
Operations Management - 5 th Edition Chapter 13 Supplement Roberta Russell & Bernard W. Taylor, III Linear Programming.
Linear Programming Models: Graphical Methods 5/4/1435 (1-3 pm)noha hussein elkhidir.
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 Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
Linear Programming Models: Graphical and Computer Methods
Linear Programming Chapter 14 Supplement. Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
Linear Programming Models: Graphical Method © 2007 Pearson Education from the companion CD - Chapter 2 of the book: Balakrishnan, Render, and Stair, “Managerial.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
1 Chapter 8 Linear programming is used to allocate resources, plan production, schedule workers, plan investment portfolios and formulate marketing (and.
Linear Programming Chapter 13 Supplement.
2-1 Linear Programming: Model Formulation and Graphical Solution Chapter 2 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.
1 Linear Programming: Model Formulation and Graphical Solution.
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.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
Management Science – MNG221 Linear Programming: Graphical Solution.
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.
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.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 6S Linear Programming.
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.
Introduction to linear programming:- - Linear programming (LP) applies to optimization models in which the objective and constraints functions are strictly.
Linear Programming Models: Graphical and Computer Methods
Monday WARM-UP: TrueFalseStatementCorrected Statement F 1. Constraints are conditions written as a system of equations Constraints are conditions written.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
LINEAR PROGRAMMING.
© 2008 Prentice-Hall, Inc. Linear Programming Models: Graphical and Computer Methods.
Warm-upWarm-up Sketch the region bounded by the system of inequalities: 1) 2) Sketch the region bounded by the system of inequalities: 1) 2)
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
Introduction to Linear Programming and Formulation Meeting 2 Course: D Deterministic Optimization Year: 2009.
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved. Supplement S9 Linear Programming.
CDAE Class 15 Oct. 16 Last class: Result of group project 1 3. Linear programming and applications Class Exercise 7 Today: 3. Linear programming.
Introduction to Quantitative Business Methods (Do I REALLY Have to Know This Stuff?)
© 2009 Prentice-Hall, Inc. 7 – 1 Decision Science Chapter 3 Linear Programming: Maximization and Minimization.
2-1 Modeling with Linear Programming Chapter Optimal Solution for New Objective Function Graphical Solution of Maximization Model (12 of 12) Maximize.
Operations Research By: Saeed Yaghoubi 1 Graphical Analysis 2.
Don Sutton Spring LP Basic Properties Objective Function – maximize/minimize profit/cost Resource Constraints – labor, money Decision.
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 7-1 1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 7 Linear.
Linear Programming Models: Graphical and Computer Methods 7 To accompany Quantitative Analysis for Management, Twelfth Edition, by Render, Stair, Hanna.
Linear Programming Chapter 14 Supplement Lecture Outline Model Formulation Graphical Solution Method Linear Programming Model Solution Solving Linear.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Linear Programming Models: Graphical and Computer Methods
Chapter 2 An Introduction to Linear Programming
A seminar talk on “SOLVING LINEAR PROGRAMMING PROBLEM BY GRAPHICAL METHOD” By S K Indrajitsingha M.Sc.
Linear Programming Objectives: Set up a Linear Programming Problem
Optimization Theory Linear Programming
Module B Linear Programming.
Introduction to Linear Programming
Linear Programming: Model Formulation and Graphic Solution
Presentation transcript:

3.4 Linear Programming

What is a Linear Program? A linear program is a mathematical model that indicates the goal and requirements of an allocation problem. It has two or more non-negative variables. Its objective is expressed as a mathematical function. The objective function plots as a line on a two-dimensional graph. There are constraints that affect possible levels of the variables. In two dimensions these plot as lines and ordinarily define areas in which the solution must lie. The text lists examples of the listed applications.

Properties of LP Models Seek to minimize or maximize Include “constraints” or limitations There must be alternatives available All equations are linear

Example LP Model Formulation: The Product Mix Problem Decision: How much to make of > 2 products? Objective: Maximize profit Constraints: Limited resources

Example: Flair Furniture Co. Two products: Chairs and Tables Decision: How many of each to make this month? Objective: Maximize profit

Flair Furniture Co. Data Tables (per table) Chairs (per chair) Hours Available Profit Contribution $7 $5 Carpentry 3 hrs 4 hrs 2400 Painting 2 hrs 1 hr 1000 Other Limitations: Make no more than 450 chairs Make at least 100 tables

Decision Variables: T = Num. of tables to make C = Num. of chairs to make Objective Function: Maximize Profit Maximize $7 T + $5 C

Constraints: Have 2400 hours of carpentry time available 3 T + 4 C < 2400 (hours) Have 1000 hours of painting time available 2 T + 1 C < 1000 (hours)

Make no more than 450 chairs C < 450 (num. chairs) More Constraints: Make no more than 450 chairs C < 450 (num. chairs) Make at least 100 tables T > 100 (num. tables) Nonnegativity: Cannot make a negative number of chairs or tables T > 0 C > 0

Model Summary Max 7T + 5C (profit) 3T + 4C < 2400 (carpentry hrs) Subject to the constraints: 3T + 4C < 2400 (carpentry hrs) 2T + 1C < 1000 (painting hrs) C < 450 (max # chairs) T > 100 (min # tables) T, C > 0 (nonnegativity)

Graphical Solution Graphing an LP model helps provide insight into LP models and their solutions. While this can only be done in two dimensions, the same properties apply to all LP models and solutions.

Carpentry Constraint Line 3T + 4C = 2400 Intercepts (T = 0, C = 600) Carpentry Constraint Line 3T + 4C = 2400 Intercepts (T = 0, C = 600) (T = 800, C = 0) Infeasible > 2400 hrs 3T + 4C = 2400 Feasible < 2400 hrs 0 800 T

Painting Constraint Line 2T + 1C = 1000 Intercepts (T = 0, C = 1000) 600 Painting Constraint Line 2T + 1C = 1000 Intercepts (T = 0, C = 1000) (T = 500, C = 0) 2T + 1C = 1000 0 500 800 T

Max Chair Line C = 450 Min Table Line T = 100 Feasible Region C 1000 600 450 Max Chair Line C = 450 Min Table Line T = 100 Feasible Region 0 100 500 800 T

Objective Function Line 500 400 300 200 100 Objective Function Line 7T + 5C = Profit 7T + 5C = $4,040 Optimal Point (T = 320, C = 360) 0 100 200 300 400 500 T

Finding Most Attractive Corner The optimal solution will always correspond to a corner point of the feasible solution region. Because there can be many corners, the most attractive corner is easiest to find visually. That is done by plotting two P lines for arbitrary profit levels.

LP Characteristics Feasible Region: The set of points that satisfies all constraints Corner Point Property: An optimal solution must lie at one or more corner points Optimal Solution: The corner point with the best objective function value is optimal

Because graphs can be inaccurate due to human error and often the numbers are very large or very small it is best to identify the corner point through a system of equations. Simply identify which lines intersect to form the corner point and solve them simultaneously.

LP Model: Example RESOURCE REQUIREMENTS Labor Clay Revenue PRODUCT (hr/unit) (lb/unit) ($/unit) Bowl 1 4 40 Mug 2 3 50 There are 40 hours of labor and 120 pounds of clay available each day Decision variables xb = number of bowls to produce xm = number of mugs to produce RESOURCE REQUIREMENTS

We have 240 acres of land to plant corn and oats We have 240 acres of land to plant corn and oats. We make a profit of $40 per acre of corn and $30 per acre of oats. We have 320 hours of available labor. Corn takes 2 hours to plant per acre and oats require 1 hour. How many acres of each should we plant to maximize our profits?

Xc = acres of corn Xo = acres of oats Maximum Profit = 40Xc + 30Xo Xc+Xo ≤240 2Xc+Xo ≤320 Xc ≥0 Xo ≥0

LP Formulation: Example Maximize Z = $40 x1 + 50 x2 Subject to x1 + 2x2 40 hr (labor constraint) 4x1 + 3x2 120 lb (clay constraint) x1 , x2 0 Solution is x1 = 24 bowls x2 = 8 mugs Revenue = $1,360

Graphical Solution: Example 4 x1 + 3 x2 120 lb x1 + 2 x2 40 hr 50 – 40 – 30 – 20 – 10 – 0 – | 10 60 50 20 30 40 x1 x2

Extreme Corner Points x1 = 0 bowls x2 =20 mugs Z = $1,000 x2 A B C | 20 30 40 10 x1 x2 40 – 30 – 20 – 10 – 0 –

Mixture A rancher is mixing two types of food, Brand X and Brand Y, for his cattle. If each serving is required to have 60 grams of protein and 30 grams of fat, where Brand X has 15 grams of protein and 10 grams of fat and costs 80 cents per unit, and Brand Y contains 20 grams of protein and 5 grams of fat, and costs 50 cents per unit, how much of each type should be used to minimize the cost to the rancher? Let X = # of units of Brand X Let Y = # of units of Brand Y Minimize Cost = .80X + .50Y 15X + 20Y ≥60 10X + 5Y ≥ 30 Non-negative Constraints