LINEAR PROGRAMMING MODULE Part 1 - Model Formulation INTRODUCTION

Similar documents
2. Linear Programming Problem

CHAPTER 11 Integer Programming, Goal Programming, and Nonlinear Programming

Deterministic Operations Research, ME 366Q and ORI 391 Chapter 2: Homework #2 Solutions

Introduction to optimization and operations research

Linear Programming. Formulating and solving large problems. H. R. Alvarez A., Ph. D. 1

ECE 307- Techniques for Engineering Decisions

Chapter 3 Introduction to Linear Programming PART 1. Assoc. Prof. Dr. Arslan M. Örnek

Transportation Problem

ST. JOSEPH S COLLEGE OF ARTS & SCIENCE (AUTONOMOUS) CUDDALORE-1

Graphical and Computer Methods

Linear Programming. H. R. Alvarez A., Ph. D. 1

Coordinated Replenishments at a Single Stocking Point

Programmers A B C D Solution:

MS-E2140. Lecture 1. (course book chapters )

UNIT-4 Chapter6 Linear Programming

MS-E2140. Lecture 1. (course book chapters )

DRAFT Formulation and Analysis of Linear Programs

Introduction to LP. Types of Linear Programming. There are five common types of decisions in which LP may play a role

56:270 Final Exam - May

MATH 445/545 Homework 1: Due February 11th, 2016

Applications of Systems of Linear Inequalities

The Simplex Method of Linear Programming

Study Unit 3 : Linear algebra

Theoretical questions and problems to practice Advanced Mathematics and Statistics (MSc course)

Ω R n is called the constraint set or feasible set. x 1

IOE510/MATH561/OMS518: Linear Programming I

Section 4.1 Solving Systems of Linear Inequalities

56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker

3 2 (C) 1 (D) 2 (E) 2. Math 112 Fall 2017 Midterm 2 Review Problems Page 1. Let. . Use these functions to answer the next two questions.

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748

9.5 THE SIMPLEX METHOD: MIXED CONSTRAINTS

Practice Questions for Math 131 Exam # 1

The Remainder and Factor Theorems

Linear programming: introduction and examples

Chapter 5 Linear Programming (LP)

Operations Research: Introduction. Concept of a Model

Chapter 2 Introduction to Optimization and Linear Programming

School of Business. Blank Page

MATH 1324 (Finite Mathematics or Business Math I) Lecture Notes Author / Copyright: Kevin Pinegar

Dr. S. Bourazza Math-473 Jazan University Department of Mathematics

LINEAR PROGRAMMING: A GEOMETRIC APPROACH. Copyright Cengage Learning. All rights reserved.

Concept and Definition. Characteristics of OR (Features) Phases of OR

Chapter 1 Linear Equations

6. 5x Division Property. CHAPTER 2 Linear Models, Equations, and Inequalities. Toolbox Exercises. 1. 3x = 6 Division Property

MA 181 Lecture Chapter 7 College Algebra and Calculus by Larson/Hodgkins Limits and Derivatives

Linear Programming. (Com S 477/577 Notes) Yan-Bin Jia. Nov 28, 2017

PREPARED BY: INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

36106 Managerial Decision Modeling Linear Decision Models: Part II

OPERATIONS RESEARCH. Michał Kulej. Business Information Systems

Linear Programming CHAPTER 11 BASIC CONCEPTS AND FORMULA. Basic Concepts 1. Linear Programming

Math 141:512. Practice Exam 1 (extra credit) Due: February 6, 2019

5.3 Linear Programming in Two Dimensions: A Geometric Approach

Introduction to Operations Research Economics 172A Winter 2007 Some ground rules for home works and exams:

Optimisation. 3/10/2010 Tibor Illés Optimisation

Introduction to Operations Research. Linear Programming

SECTION 3.2: Graphing Linear Inequalities

The Transportation Problem

F 1 F 2 Daily Requirement Cost N N N

Math 112 Spring 2018 Midterm 2 Review Problems Page 1

Systems and Matrices CHAPTER 7

Introduction to Operations Research

Integer Programming. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall

CHAPTER-3 MULTI-OBJECTIVE SUPPLY CHAIN NETWORK PROBLEM

3 Development of the Simplex Method Constructing Basic Solution Optimality Conditions The Simplex Method...

Introduction To Maple The Structure of Maple A General Introduction to Maple Maple Quick Review Maple Training Introduction, Overview, And The

LINEAR PROGRAMMING BASIC CONCEPTS AND FORMULA

SECTION 5.1: Polynomials

Modern Logistics & Supply Chain Management

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004

An Introduction to Linear Programming

Decision Models Lecture 5 1. Lecture 5. Foreign-Currency Trading Integer Programming Plant-location example Summary and Preparation for next class

Practice Final Exam Answers

Optimization. Broadly two types: Unconstrained and Constrained optimizations We deal with constrained optimization. General form:

CEE Computer Applications. Mathematical Programming (LP) and Excel Solver

LP Definition and Introduction to Graphical Solution Active Learning Module 2

6.2: The Simplex Method: Maximization (with problem constraints of the form )

Handout 1: Introduction to Dynamic Programming. 1 Dynamic Programming: Introduction and Examples

CSCI 5654 (Linear Programming, Fall 2013) CSCI 5654: Linear Programming. Notes. Lecture-1. August 29, Notes

Chapter 4 The Simplex Algorithm Part I

Chapter 3: Discrete Optimization Integer Programming

Chapter 2 An Introduction to Linear Programming

Sensitivity Analysis and Duality in LP

Contents CONTENTS 1. 1 Straight Lines and Linear Equations 1. 2 Systems of Equations 6. 3 Applications to Business Analysis 11.

Chapter Four: Linear Programming: Modeling Examples PROBLEM SUMMARY 4-1

MA 162: Finite Mathematics - Section 3.3/4.1

G200 & CL605 Analysis

Lecture Note 1: Introduction to optimization. Xiaoqun Zhang Shanghai Jiao Tong University

MODELING (Integer Programming Examples)

Skills Practice Skills Practice for Lesson 2.1

UNIT 4 TRANSPORTATION PROBLEM

Spring 2018 IE 102. Operations Research and Mathematical Programming Part 2

Solutions. ams 11b Study Guide 9 econ 11b

Bachelor s Degree Programme Operations Research (Valid from 1st January, 2012 to 30th November, 2012.)

Chapter 5. Increasing and Decreasing functions Theorem 1: For the interval (a,b) f (x) f(x) Graph of f + Increases Rises - Decreases Falls

Review Questions, Final Exam

UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION

DM559/DM545 Linear and integer programming

Finite Mathematics MAT 141: Chapter 4 Notes

is called an integer programming (IP) problem. model is called a mixed integer programming (MIP)

M112 Short Course In Calculus V. J. Motto Spring 2013 Applications of Derivatives Worksheet

Transcription:

Name: LINEAR PROGRAMMING MODULE Part 1 - Model Formulation INTRODUCTION In general, a mathematical model is either deterministic or probabilistic. For example, the models and algorithms shown in the Graph-Optimization module are deterministic. On the other hand, the queuing model in the Probability Distribution module is probabilistic. A linear program in its basic form is a deterministic model, although probabilistic versions have evolved. Linear programming is the simplest and most elegant of optimization procedures. There are some very convenient features that result from dealing with linear equations. Notice the word "programming" in linear programming does not necessarily mean an electronic computer program, but rather a set of procedures to arrive at a solution: an algorithm. The algorithm is tedious enough that computer programming is invariably required for other than the smallest textbook problems. The development of linear programming proceeded quickly during World War II when large scale economic and military planning were needed. Linear programming typically deals with allocating limited resources (such as labor, time, machines etc.) between competing activities (such as deployment of a particular type of aircraft) and results in the best possible mix (say using an equal number of long range and medium range aircraft for the mission). George Dantzig was the person most responsible for developing the simplex algorithm in 1947 for solving linear-programming models. Using linear programs for decision-making typically involves two steps: 1) the mathematical modeling of the process, and 2) the application of an algorithm to solve the mathematical model, arriving at a desirable solution or a set of feasible solutions. This module is constructed to serve as an introduction to linear programming, After completing this module the reader should be able to: a) use linear programming to model a real-world problem, where appropriate; b) use the simplex algorithm to solve a specific type of linear programming problem. MODELING WITH LINEAR PROGRAMMING Consider a system under study. It may involve any large or small scale activities such as an amphibious strike force of the military, or a petrochemical plant, or a shipment of fruits from Florida to New York or an airline s flight schedule. The basic assumption of linear programming is that the system as a whole can be decomposed into a number of elementary functions called activities. Each of the activities consumes varying amounts of the limited resources available. For example, consider an airline fleet consisting of Boeing 747 and a Boeing 777. If we just consider labor, then the Boeing 747 requires a Page 1 of 9

larger flight and maintenance crew than the Boeing 777. In the linear programming formulation, the activities are usually represented by the variables X 1, X 2, X 3,.... For example, X 1 could be the number of flight crews assigned to the 747, and X 2 could be the number of flight crews assigned to the 777. These variables are in linear form and are not in such nonlinear forms as X 2, X 3, e X, or log X, etc. Another assumption of linear programming is that the limited resources are consumed by the activities in direct proportions. For example, if we initially have 20 maintenance crews assigned to one Boeing 747, then if we have two Boeing 747s, we need 40 maintenance crews, if we have three 747s, we need 60 maintenance crews, and so on. A related economics concept to this proportionality assumption is "constant returns to scale." It is also assumed that the resources consumed by the activities are additive in nature. For example, if the Boeing 747 consumes 5,000 gallons of fuel and the Boeing 777 consumes 3,000 gallons of fuel, then the total consumption is 8,000 gallons. Finally, there is the "payoff" of the system. The payoff of a corporation is typically its profit; the payoff of a military strike force is usually its minimum time to deploy; the payoffs of a diet are usually its nutrients. The payoff is represented by a linear objective function. (The textbook also uses the term criterion function), The objective function is to be either maximized as in the case of corporation profit, or minimized as in the case of the time of deployment for the military strike force. There are other minor assumptions and they will be evident we work out some examples. There are three steps in formulating a linear program (LP): 1. Formulate the "payoff" objective function. 2. Formulate the constraint equations representing the activity consumption of the limited resources. 3. Write the non-negativity constraints, i.e., all activities are available before they can be consumed; no overdraws are allowed. Illustration 1) PROBLEM: A builder is preparing a development plan for a 50-acre community. The zoning regulation requires ½ acre for a two-family unit and 1 acre for a four-family unit. The builder can construct a two-family unit at the cost of $250,000 and a four-family unit at the cost of $400,000. The builder could sell the two-family for the price of $300,000 and the four-family unit for the price of $480,000 to a real-estate agent. Thus, the builder could make a profit of $50,000 on a two-family unit and $80,000 on a four-family unit. The builder has a $15,000,000 loan from the bank. How many of each family unit should the builder construct? Let X 1 be the number of two-family units constructed. Let X 2 be the number of four-family units constructed. Page 2 of 9

The builder wants to maximize profit. Maximize, the profit: Z = 50,000 X 1 + 80,000 X 2 ½ X 1 + X 2 # 50 (zoning law and land constraint) 250,000 X 1 + 400,000 X 2 #15,000,000 (monetary constraint) Nonnegativity: X 1 $ 0, X 2 $ 0. The whole model, in standard notation is: Max Z = 50,000 X 1 + 80,000 X 2 subject to ½ X 1 + X 2 # 50 250,000 X 1 + 400,000 X 2 # 15,000,000 X 1 $ 0, X 2 $ 0. Illustration 2) (Please fill in the blanks) PROBLEM: The Peekskill Electronic Corp. has a product line of three transistor-radios, models DH1, DH2, DH3. Three types of transistors in varying amounts are used in each model. The unit profit of each model is also in varying amounts. These facts are summarized in the following Table: Radio model Transistor required for each model Type 1 Type 2 Type 3 Unit profit DH1 6 3 1 20 DH2 5 3 2 14 DH3 3 1 3 10 An inventory shows 5,000 Type 1, 3,000 Type 2, and 2,000 Type 3 transistors are available for the next month. How many of each radio model should the firm manufacture in the next month? X 1 = the number of DH1 radio models produced in one month X 2 = the number of DH2 radio models produced in one month X 3 = the number of DH3 radio models produced in one month maximize profit Z = 20 X 1 + ( ) X 2 + ( ) X 3 Page 3 of 9

6X 1 + 5X 2 + 3X 3 # 5,000 (Type 1 transistor constraint) 3X 1 + 3X 2 + X 3 # 3,000 (Type 2 transistor constraint) ( )X 1 +( )X 2 + ( )X 3 # 2,000 (Type 3 transistor constraint) Nonnegativity : X 1 $ 0, X 2 $ 0, X 3 $ 0. Illustration 3) PROBLEM: A dietician is planning a special diet for a patient consisting of only rice, steak, and tomato. The following Table summarizes the nutritional values and cost for each food item. Food item Units of carbohydrates Units of protein Unit cost Rice 4 2 1 Steak 3 8 2 Tomato 2 10 3 The minimum dietary requirements are 6 units of carbohydrates and 8 units of protein. How many daily units of each food item should the dietician plan for the patient to minimize cost? Let X 1 = units of rice Let X 2 = daily units of steak Let X 3 = daily units of tomato minimize cost Z = 1 X 1 + ( )X 2 + ( )( ) 4X 1 + 3X 2 + 2X 3 $ 6 (Minimum carbohydrate requirement; the inequality is greater than or equal to because 6 is the minimum requirement.) 2X l + ( )( ) + ( )( ) $ ( ) (Minimum protein requirement) X 1 $ 0, X 2 $ 0, X 3 $ 0. Page 4 of 9

(Nonnegativity) Illustration 4) PROBLEM: A company has two factories and two regional warehouses. The cost per unit of shipment from each factory to each warehouse is shown below: Shipment to Warehouse 1 Warehouse 2 Factory 1 20 25 Factory 2 30 16 Factory 1 produces 800 units and factory 2 produces 600 units. All of the units must be shipped out. Warehouse 1 has a capacity of 750 units and warehouse 2 has a capacity of 650 units. How many units should be shipped from each factory to each warehouse to minimize the shipment cost? FORMULATION Let X 11 = the number of units shipped from factory 1 to warehouse 1. (X 11 is read "X one one," really "X sub one one," but we frequently leave off sub, which stands for subscript.) Let X 12 = the number of units shipped from factory 1 to warehouse 2. Let X 21 = the number of units shipped from factory 2 to warehouse 1. Let X 22 = ( ) Minimize cost Z = 20 X 11 + 25 X 12 + ( ) ( ) + ( ) ( ) X 11 + X 12 = 800 (The total shipment from factory 1 is 800 units, hence the equality.) X 21 + ( ) = ( ) (The total shipment from factory 2 to the two warehouses.) X 11 + X 21 # 750 (The total shipment to warehouse 1 is limited to 750, hence the inequality.) X 12 + X 22 # 650 (Shipment to warehouse 2.) X 11 $ 0, X 12 $ 0, X 21 $ 0, X 22 $ 0. Illustration 5) PROBLEM: An airline company is considering the purchase of new aircraft. The price for a long-range plane is $220 million, for a medium-range plane is $195 million and for a short-range plane is $110 million. The company can get total finance of $5.5 billion for these purchases. The estimated net annual profit for each plane is: long range: $13.75 million Page 5 of 9

medium range: $11 million short range $6.875 million There are sufficient trained pilots available next year to fly 40 new aircraft. Maintenance facilities next year would be able to handle 45 aircraft. The company wants to maximize profit. Formulate a linear program model to get a preliminary estimate of the numbers of each type of aircrafts to purchase. Activities : X 1 = the number of long-range planes purchased X 2 = the number of medium-range planes purchased X 3 = the number of short-range planes purchased Maximize profit Z = ( )X 1 + ( )( ) + ( )( ) 220 X 1 + ( )( ) + ( )( ) # ( ) (Money constraint) X 1 + ( ) + ( ) # 40 (Pilot constraint) ( ) + ( ) + ( ) # ( ) (Maintenance facility constraint) X 1 $ 0, X 2 $ 0, X 3 $ 0. Illustration 6) PROBLEM: A hydroelectric dam was constructed for two purposes: 1) electricity generation and 2) irrigation. The average flow from rain, runoffs, and streams is 40 mgd. The maximum downstream flow is 20 mgd. There would be erosion and flood if downstream flow is Page 6 of 9

greater than 20 mgd. The generating efficiency of the dam is one million watt-hours per one million gallons per day. Also, it was determined that 1/3 of the water used for irrigation seeps through the ground and contributes to the downstream flow. (The seepage varies with the season but for simplicity sake we assume 1/3. The hydroelectric authority has been authorized to charge $60 per one million gallons of irrigation water and $70 per one million watt-hours of electricity. Assuming unlimited demands for electricity and irrigation, how should the hydroelectric authority allocate the water for revenue? X 1 = water allocated, in millions of gallon, for irrigation X 2 = water allocated, in millions of gallon, for electricity generation. Maximize revenue Z = ( ) ( )+( )X 2 ( ) + ( ) # 40 (Inflow constraint: the use must be equal or less than replacement.) ( ) ( ) + X 2 # 20 (Downstream flow constraint: the flow must be equal or less than maximum allowed downstream flow.) X 1 $ 0, X 2 $ 0. Illustration 7) PROBLEM: The Precision Glass Co. produces six glass products. The production schedule indicates that the next month's production should be: 200 pieces of coated glass #1 200 pieces of coated glass #2 150 pieces of coated glass #3 50 pieces of lens #1 75 pieces of lens #2 25 pieces of lens #3 The actual monthly production is not to fall short of the planned production by more than 10% for each glass product. Production times for each product: 0.012 unit operating hour per coated glass #1 0.014 unit operating hour per coated glass #2 0.018 unit operating hour per coated glass #3 0.040 unit operating hour per lens #1 0.045 unit operating hour per lens #2 0.060 unit operating hour per lens #3 Page 7 of 9

Because of maintenance requirements of the production machines, the production time for each month is 1,000 unit operating hours. The packing operations requirement: 0.010 unit packing hour per coated glass #1 0.015 unit packing hour per coated glass #2 0.018 unit packing hour per coated glass #3 0.025 unit packing hour per lens #1 0.035 unit packing hour per lens #2 0.040 unit packing hour per lens #3 The packing can be done on two units: unit #1 for the coated glasses and unit #2 for the lenses. Because of maintenance requirements, unit #1has 500 unit hours available per month, and unit #2 has 900 unit hours available per month. The total approximate cost per glass product for the glass company is: $1.20 per coated glass #1 $2.00 per coated glass #2 $2.50 per coated glass #3 $3.00 per lens #1 $5.00 per lens #2 $6.00 per lens #3 What is the optimal production? X 1 = the number of coated glass #1 produced X 2 = the number of coated glass #2 produced X 3 = the number of coated glass #3 produced X 4 = the number of lens #1 produced X 5 = the number of lens #2 produced X 6 = the number of lens #3 produced Minimize cost Z = 1.20 X 1 + 2.00 X 2 + ( )( ) + ( )( ) + ( )( ) + ( )( ) Actual production must be within 10% of the planned production constraint. 200 & X 1 # (0.10) (200) 200 & X 2 # (0.10) (200) ( ) & ( ) # ( ) ( ) ( ) & ( ) # ( ) ( ) ( ) & ( ) # ( ) ( ) Page 8 of 9

25 & X 6 # (0.10) (25) Production time constraint: 0.012 X 1 + ( )( ) + ( )( ) + ( )( ) + ( )( ) + ( )( ) # 1,000 Packing time constraints: 0.010 X 1 + ( )( ) + ( )( ) # 500 (for unit 1) ( )( ) + ( )( ) + ( )( ) # 900 (for unit 2) X 1 $ 0, X 2 $ 0, X 3 $ 0, X 4 $ 0, X 5 $ 0, X 6 $ 0 Illustration 8) A dietician must make up a diet consisting of meat, bread and spinach, at the minimum cost. Minimum daily requirements of nutrients are: protein 100 units carbohydrate 50 units iron 15 units The nutrient compositions, in units per pound, of the three food items are: Protein Carbohydrate Iron Meat 40 8 5 Bread 10 35 2 Spinach 5 6 20 The costs of the three food items are: meat $ 1.65 / lb. bread $ 0.70 / lb. spinach $ 0.60 / lb. Model this problem. (Please write out the linear programming formulation.) Page 9 of 9