Linear Programming Models & Case Studies

Slides:



Advertisements
Similar presentations
Optimization problems using excel solver
Advertisements

Introduction to Mathematical Programming Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Technologies.
Lesson 08 Linear Programming
CHEN 4460 – Process Synthesis, Simulation and Optimization
Planning with Linear Programming
Linear Programming Problem
Session II – Introduction to Linear Programming
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.
Linear Programming.
Learning Objectives for Section 5.3
Managerial Decision Modeling with Spreadsheets
BA 555 Practical Business Analysis
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Linear Programming: Formulations & Graphical Solution.
Chapter 2: Linear Programming Dr. Alaa Sagheer
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.
19 Linear Programming CHAPTER
Quantitative Techniques for Decision Making M.P. Gupta & R.B. Khanna © Prentice Hall India LINEAR PROGRAMMING GRAPHIC METHOD 2 CHAPTER.
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.
Operations Management
Operations Management
An Introduction to Linear Programming : Graphical and Computer Methods
Environmentally Conscious Design & Manufacturing (ME592) Date: May 3, 2000 Slide:1 Environmentally Conscious Design & Manufacturing Class 24: Optimization.
INTRODUCTION TO LINEAR PROGRAMMING
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.
Linear Programming.
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
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 Models: Graphical and Computer Methods
1© 2003 by Prentice Hall, Inc. Upper Saddle River, NJ The Wyndor Glass Company Problem (Hillier and Liberman) The Wyndor Glass Company is planning.
FORMULATION AND GRAPHIC METHOD
Chapter 2 Linear Programming Models: Graphical and Computer Methods
3.4 Linear Programming.
Chapter 19 Linear Programming McGraw-Hill/Irwin
Types of IP Models All-integer linear programs Mixed integer linear programs (MILP) Binary integer linear programs, mixed or all integer: some or all of.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1 What is Optimization The Optimization Problem is: Find values of the variables that minimize or maximize the objective function while satisfying the.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Simplex Method for solving LP problems with two variables.
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding 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.
LINEAR PROGRAMMING.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
© 2008 Prentice-Hall, Inc. Linear Programming Models: Graphical and Computer Methods.
QUANTITATIVE TECHNIQUES (QUAN 1202) Lecture 3 Linear Programming Modeling September 2009.
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. Linear Programming Linear programming is a mathematical technique. This technique is applied for choosing the best alternative from.
Linear Programming. George Dantzig 1947 NarendraKarmarkar Pioneers of LP.
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.
Appendix A with Woodruff Edits Linear Programming Using the Excel Solver Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Class 10: Introduction to Linear Programming
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Linear Programming.
Linear Programming Models: Graphical and Computer Methods
Engineering Economics (2+0)
Module Outline Introduction The Linear Programming Model
Transportation Networks CIVE 744
Linear Programming – Introduction
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
MBA 651 Quantitative Methods for Decision Making
Linear Programming Prof. Sweta Shah.
Linear Programming Models: Graphical and Computer Methods
1 LP Models & Case Studies Mathematical Programming & Modeling ENGC 6362 Prof. Rifat Rustom Lecture 2 S.
Linear Programming.
Presentation transcript:

Linear Programming Models & Case Studies Adapted from lectures of Prof. Rifat Rustom

The Optimization Problem is: What is Optimization The Optimization Problem is: Find values of the variables that minimize or maximize the objective function while satisfying the constraints.

Components of Optimization Problem An objective function which we want to minimize or maximize A set of unknowns or variables which affect the value of the objective function A set of constraints that allow the unknowns to take on certain values but exclude others Optimization problems are made up of three basic ingredients:

Optimization Tree

Linear Programming A linear programming problem is one in which we are to find the maximum or minimum value of a linear expression ax + by + cz + . . . (called the objective function), subject to a number of linear constraints of the form Ax + By + Cz + . . . N The largest or smallest value of the objective function is called the optimal value, and a collection of values of x, y, z, . . . that gives the optimal value constitutes an optimal solution. The variables x, y, z, . . . are called the decision variables

LP Properties and Assumptions PROPERTIES OF LINEAR PROGRAMS 1. One objective function 2. One or more constraints 3. Alternative courses of action 4. Objective function and constraints are linear ASSUMPTIONS OF LP 1. Certainty 2. Proportionality 3. Additivity 4. Divisibility 5. Nonnegative variables

Basic Assumptions of LP We assume conditions of certainty exist and numbers in the objective and constraints are known with certainty and do not change during the period being studied We assume proportionality exists in the objective and constraints constancy between production increases and resource utilization – if 1 unit needs 3 hours then 10 require 30 hours We assume additivity in that the total of all activities equals the sum of the individual activities We assume divisibility in that solutions need not be whole numbers All answers or variables are nonnegative as we are dealing with real physical quantities

Example Find the maximum value of Subject to: p = 3x + 2y + 4z 4x + 3y + z >=3 x + 2y + z >=4 x >=0, y >=0, z >=0

Examples of LP Problems (1) 1. A Product Mix Problem A manufacturer has fixed amounts of different resources such as raw material, labor, and equipment. These resources can be combined to produce any one of several different products. The quantity of the ith resource required to produce one unit of the jth product is known. The decision maker wishes to produce the combination of products that will maximize total income.

Examples of LP Problems (2) 2. A Blending Problem Blending problems refer to situations in which a number of components (or commodities) are mixed together to yield one or more products. Typically, different commodities are to be purchased. Each commodity has known characteristics and costs. The problem is to determine how much of each commodity should be purchased and blended with the rest so that the characteristics of the mixture lie within specified bounds and the total cost is minimized.

Examples of LP Problems (3) 3. A Production Scheduling Problem A manufacturer knows that he must supply a given number of items of a certain product each month for the next n months. They can be produced either in regular time, subject to a maximum each month, or in overtime. The cost of producing an item during overtime is greater than during regular time. A storage cost is associated with each item not sold at the end of the month. The problem is to determine the production schedule that minimizes the sum of production and storage costs.

Examples of LP Problems (4) 4. A Transportation Problem A product is to be shipped in the amounts al, a2, ..., am from m shipping origins and received in amounts bl, b2, ..., bn at each of n shipping destinations. The cost of shipping a unit from the ith origin to the jth destination is known for all combinations of origins and destinations. The problem is to determine the amount to be shipped from each origin to each destination such that the total cost of transportation is a minimum.

Examples of LP Problems (5) 5. A Flow Capacity Problem One or more commodities (e.g., traffic, water, information, cash, etc.) are flowing from one point to another through a network whose branches have various constraints and flow capacities. The direction of flow in each branch and the capacity of each branch are known. The problem is to determine the maximum flow, or capacity of the network.

Formulating LP Problems Formulating a linear program involves developing a mathematical model to represent the managerial problem The steps in formulating a linear program are Completely understand the managerial problem being faced Identify the objective and constraints Define the decision variables Use the decision variables to write mathematical expressions for the objective function and the constraints

Example 1: Flair Furniture Company 1. A Product Mix Problem Example 1: Flair Furniture Company The Flair Furniture Company produces inexpensive tables and chairs Processes are similar in that both require a certain amount of hours of carpentry work and in the painting and varnishing department Each table takes 4 hours of carpentry and 2 hours of painting and varnishing Each chair requires 3hours of carpentry and 1 hour of painting and varnishing There are 240 hours of carpentry time available and 100 hours of painting and varnishing Each table yields a profit of $70 and each chair a profit of $50

Example 1: Flair Furniture Company The company wants to determine the best combination of tables and chairs to produce to reach the maximum profit HOURS REQUIRED TO PRODUCE 1 UNIT DEPARTMENT (T) TABLES (C) CHAIRS AVAILABLE HOURS THIS WEEK Carpentry 4 3 240 Painting and varnishing 2 1 100 Profit per unit $70 $50

Example 1: Flair Furniture Company The objective is to Maximize profit The constraints are The hours of carpentry time used cannot exceed 240 hours per week The hours of painting and varnishing time used cannot exceed 100 hours per week The decision variables representing the actual decisions we will make are T = number of tables to be produced per week C = number of chairs to be produced per week

Example 1: Flair Furniture Company We create the LP objective function in terms of T and C Maximize profit = $70T + $50C Develop mathematical relationships for the two constraints For carpentry, total time used is (4 hours per table)(Number of tables produced) + (3 hours per chair)(Number of chairs produced) We know that Carpentry time used ≤ Carpentry time available 4T + 3C ≤ 240 (hours of carpentry time)

Example 1: Flair Furniture Company Similarly Painting and varnishing time used ≤ Painting and varnishing time available 2 T + 1C ≤ 100 (hours of painting and varnishing time) This means that each table produced requires two hours of painting and varnishing time Both of these constraints restrict production capacity and affect total profit

Example 1: Flair Furniture Company The values for T and C must be nonnegative T ≥ 0 (number of tables produced is greater than or equal to 0) C ≥ 0 (number of chairs produced is greater than or equal to 0) The complete problem stated mathematically Maximize profit = $70T + $50C subject to 4T + 3C ≤ 240 (carpentry constraint) 2T + 1C ≤ 100 (painting and varnishing constraint) T, C ≥ 0 (nonnegativity constraint)

Max 70T + 50C Subject to 4T + 3C <=240. 2T + 1C <=100 T >= Max 70T + 50C Subject to 4T + 3C <=240 2T + 1C <=100 T >= 0 C >= 0 Global optimal solution found. Objective value: 4100.000 Infeasibilities: 0.000000 Total solver iterations: 2 Model Class: LP Total variables: 2 Nonlinear variables: 0 Integer variables: 0 Total constraints: 5 Nonlinear constraints: 0 Total nonzeros: 8 Nonlinear nonzeros: 0 Variable Value Reduced Cost T 30.00000 0.000000 C 40.00000 0.000000 Row Slack or Surplus Dual Price 1 4100.000 1.000000 2 0.000000 15.00000 3 0.000000 5.000000 4 30.00000 0.000000 5 40.00000 0.000000 Rustom

Example 2: Solution of the Two Quarrying Sites 2. A Blending Problem Example 2: Solution of the Two Quarrying Sites A Quarrying Company owns two different rock sites that produce aggregate which, after being crushed, is graded into three classes: high, medium and low-grade. The company has contracted to provide a concrete batching plant with 12 tons of high-grade, 8 tons of medium-grade and 24 tons of low-grade aggregate per week. The two sites have different operating characteristics as detailed below. Site Cost per day ($'000) Production (tons/day) High Medium Low X 180 6 3 4 Y 160 1 1 6 How many days per week should each Site be operated to fulfill the batching plant contract?

Example 2: Solution of the Two Quarrying Sites Translate the verbal description into an equivalent mathematical description. Determine: - Variables - Constraints - Objective Formulating the problem (mathematical representation of the problem). (1) Variables These represent the "decisions that have to be made" or the "unknowns". Let x = number of days per week Site X is operated y = number of days per week Site Y is operated Note here that x >= 0 and y >= 0.

Example 2: Solution of the Two Quarrying Sites (2) Constraints It is best to first put each constraint into words and then express it in a mathematical form. Aggregate production constraints balance the amount produced with the quantity required under the batching plant contract Aggregate High 6x + 1y >= 12 Medium 3x + 1y >= 8 Low 4x + 6y >= 24 Days per week constraint we cannot work more than a certain maximum number of days a week e.g. for a 5 day week we have: x <= 5 y <= 5 Constraints of this type are often called implicit constraints because they are implicit in the definition of the variables.

Example 2: Solution of the Two Quarrying Sites (3) Objective Again in words our objective is (presumably) to minimize cost which is given by 180x + 160y Hence we have the complete mathematical representation of the problem as: Minimize 180x + 160y Subject to 6x + y >= 12 3x + y >= 8 4x + 6y >= 24 x <= 5 y <= 5 x >= 0 Global optimal solution found. Objective value: 765.7143 Infeasibilities: 0.000000 Total solver iterations: 2 Variable Value Reduced Cost X 1.714286 0.000000 Y 2.857143 0.000000 Row Slack or Surplus Dual Price 1 765.7143 -1.000000 2 1.142857 0.000000 3 0.000000 -31.42857 4 0.000000 -21.42857 5 3.285714 0.000000 6 2.142857 0.000000 7 1.714286 0.000000 8 1.714286 0.000000

Example 3: Optimization of Well Treatment Problem Statement: Three wells in Gaza are used to pump water for domestic use. The maximum discharge of the wells as well as the properties of water pumped are shown in the table below. The water is required to be treated using chlorine before pumped into the system. Determine the minimum cost of chlorine treatment per cubic meter per day for the three wells given the cost in $/m3 for the three wells. The total discharge is 5000 m3/day.

Properties of Pumped Water Cl Qmax Cl treatment Max. working mg/l m3/hr $/m3 hours Well No. 1 200 100 0.05 20 Well No. 2 500 150 0.12 18 Well No. 3 300 120 0.08 15

Mathematical Model Minimize Cost of Chlorine Treatment per Day Objective Function: C = 0.05Q1 + 0.12Q2 + 0.08Q3 Constraints Subject to: Well 1: max discharge should be equal to or less than 2000 m3/day. (100 m3/hr x 20hr/day) Q1 < = 2000 .................................... (1) Well 2: max discharge should be equal to or less than 2700 m3/day. (150 m3/hr x 18hr/day) Q2 < = 2700 .................................... (2) Well 3: max discharge should be equal to or less than 1800 m3/day. (120 m3/hr x 15hr/day) Q3 < = 1800 . ................................... (3)

Wells 1, 2, 3: total discharge should be equal to 5000 m3/day. Q1 + Q2 + Q3 = 5000 .................................... (4) ` discharge of each well should be greater than 0. Q1, Q2, Q3 > 0 .................................... (5)