Lecture 22 Integer Linear Programming Prototype Examples. November 2, 2009

Similar documents
Lecture 23 Branch-and-Bound Algorithm. November 3, 2009

Integer Linear Programming Modeling

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg

7 = 8 (Type a simplified fraction.)

3.1 NOTES Solving Systems of Linear Equations Graphically

VOTE FOR YOUR FAVORITE SODA BRAND!!

Math 135 Intermediate Algebra. Homework 3 Solutions

Math Applications 544

UNIT 5 INEQUALITIES CCM6+/7+ Name: Math Teacher:

Systems of Equations. Red Company. Blue Company. cost. 30 minutes. Copyright 2003 Hanlonmath 1

Midterm: Wednesday, January 23 rd at 8AM Midterm Review

CH 16 LIKE TERMS AND EQUATIONS. Ch 16 Like Terms and Equations = 10 10

1. Corey used the following table when making iced tea. Iced Tea Ingredients

= $ m. Telephone Company B charges $11.50 per month plus five cents per minute. Writing that mathematically, we have c B. = $

Example 1: Twenty-six less than three times a number is the same as the sum of negative two and five times the number. Find the number.

Algebra 1 Midterm Review

Chapter 4: Systems of Equations and Inequalities

Review 1. 1 Relations and Functions. Review Problems

tiple Choice tify the letter of the choice that best completes the statement or answers the question.

Gestion de la production. Book: Linear Programming, Vasek Chvatal, McGill University, W.H. Freeman and Company, New York, USA

I can Match each mathematical sentence on the right with its translation on the left. Define the variable(s). 1.

Practice Set 1.1 Algebraic Expressions and Real Numbers. Translate each English phrase into an algebraic expression. Let x represent the number.

ALGEBRA I SEMESTER EXAMS PRACTICE MATERIALS SEMESTER Use the diagram below. 9.3 cm. A = (9.3 cm) (6.2 cm) = cm 2. 6.

MATHEMATICS: PAPER I

Chapter 6 review. 1. Which statement is true about the graphs of these equations?

Record your answers and work on the separate answer sheet provided.

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

Integer Programming ISE 418. Lecture 16. Dr. Ted Ralphs

YISHUN JUNIOR COLLEGE 2017 JC2 Preliminary Examination

Edexcel GCE Core Mathematics C1 Advanced Subsidiary

Algebra/Geometry Blend Unit #2: Linear Functions Lesson 2: Function Notation & Graphs. [page 1]

Unit 5 Test Review Systems of Linear Equations Name Class Date

STAT:2020 Probability and Statistics for Engineers Exam 2 Mock-up. 100 possible points

Decision Mathematics Module D1

ALGEBRA I SEMESTER EXAMS PRACTICE MATERIALS KEY SEMESTER 1. Selected Response Key

Name Class Date. What is a System of Linear Equations in Two Variables?

UNIT 2: REASONING WITH LINEAR EQUATIONS AND INEQUALITIES. Solving Equations and Inequalities in One Variable

Use the Equal Values method to solve each system.

Pre-Test. 1. Determine the solution to each system of equations. a. 3x 2 y 5 5 2x 1 7y b. 22x 5 210y x 1 8y 5 5

Final Exam Study Guide

VCE Further Mathematics Units 3&4

Word problems in Slope-intercept form

Practice Test 1 BLACKLINE MASTERS

FURTHER MATHEMATICS. Written examination 2 (Analysis task) Wednesday 3 November 2004

Name: Systems 2.1. Ready Topic: Determine if given value is a solution and solve systems of equations

Jo Daviess County Geographic Information System

Operations Research Lecture 6: Integer Programming

FDFDAFADADTTDTAFAFFAADFDDDFDFDDFTDAFDFATFAFTAFFFFDAFDTTFFTTDTDFTT. Important Messages. Summary of Charges. Total Amount Due. Remittance Section

Writing and Graphing Inequalities

Winter Ready DC District of Columbia Public Service Commission

Decision Procedures An Algorithmic Point of View

2007 First-Class Mail Rates for Flats* Weight (oz) Rate (dollars) Weight (oz) Rate (dollars)

Lecture 8 Continuous Random Variables

Pattern & Algebra Practice Problems

Integer programming: an introduction. Alessandro Astolfi

Linear integer programming and its application

Chapter 3: Discrete Optimization Integer Programming

Network Flows. 6. Lagrangian Relaxation. Programming. Fall 2010 Instructor: Dr. Masoud Yaghini

GRADE 11 MATHEMATICS FIRST PAPER NOVEMBER 2009

Linear Programming Duality

Linear programming: algebra

FY SUMMARY BUDGET

Checkpoint 1 Simplifying Like Terms and Distributive Property

Study Unit 3 : Linear algebra

CHAPTER 2: Polynomial and Rational Functions

Reading Time: 15 minutes Writing Time: 1 hour. Structure of Booklet. Number of questions to be answered

FURTHER MATHEMATICS Units 3 & 4 - Written Examination 2

REVISED UPDATED PREPARED DIRECT SAFETY ENHANCEMENT COST ALLOCATION TESTIMONY OF GARY LENART SAN DIEGO GAS & ELECTRIC COMPANY AND

Travelling Salesman Problem

Chelwood Hills Homeowners Association 2016 Budget Approved at Annual Meeting on January 9, 2016

Antti Salonen KPP Le 3: Forecasting KPP227

Estadística I Exercises Chapter 4 Academic year 2015/16

Determine the least common denominator (LCD) of the rational expressions. Solve each equation. List any restrictions and check your answer.

Unit 3 Linear Algebra & Unit 4 Systems of Linear Equations REVIEW. + is equal to 2.

Math 60 PRACTICE Exam 2 Part I: No Calculator

Algebra I Final Study Guide

ALGEBRA I SEMESTER EXAMS PRACTICE MATERIALS SEMESTER (1.1) Examine the dotplots below from three sets of data Set A

Math 164-1: Optimization Instructor: Alpár R. Mészáros

Name Date Class. Fishing Hook G Kite A is at a height of 21 feet. It ascends 15 feet. At what height is it now?

Decision Mathematics D1

Logistics. Lecture notes. Maria Grazia Scutellà. Dipartimento di Informatica Università di Pisa. September 2015

Name Class Date. You can use the properties of equality to solve equations. Subtraction is the inverse of addition.

ALGEBRA 1 END OF COURSE PRACTICE TEST

Graphical and Computer Methods

Algebra I Practice Exam

Graphing and Writing Linear Equations Review 3.1, 3.3, & 4.4. Name: Date: Period:

Page Points Score Total: 100

Practice Ace Problems

MA 162: Finite Mathematics - Section 3.3/4.1

Fiscal Year Budget

MATHEMATICS PAPER 1. Question-Answer Book. QUEEN S COLLEGE Half-yearly Examination, Secondary 1 Date: Time: 8:30 am 9:45 am

Math 1 Exponential Functions Unit 2018

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

2.1 Simplifying Algebraic Expressions

Current Rates SECTION 2 GENERAL RULES AND REGULATIONS. The Gross Revenue Tax Surcharge rates to be charged are as follows:

GCSE 185/05. MATHEMATICS (2 Tier) HIGHER TIER PAPER 2. A.M. WEDNESDAY, 12 November hours. Candidate Name. Centre Number.

Implementation Status & Results Africa RCIP3 - Regional Communications Infrastructure Program - Phase 3 (P111432)

A. 4 B. 6 C. 9 D. 15 E. 18

0815AI Common Core State Standards

IOE 202: lectures 11 and 12 outline

Transcription:

Integer Linear Programming Prototype Examples November 2, 2009

Outline Lecture 22 Examples of ILP problems - modeling aspect Chapter 9.1 of the book Operations Research Methods 1

Example: Project Selection Five projects are being evaluated over a 3-year planning horizon. The following table gives the expected returns for each project and the associated yearly expenditures. Project Expenditures 1 2 3 Return 1 5 1 8 20 2 4 7 10 40 3 3 9 2 20 4 7 4 1 15 5 8 6 10 30 Available funds 25 25 25 Which projects should be selected to maximize the return? Operations Research Methods 2

ILP Model Let x j be a decision variable for project j, j = 1,..., 5, defined by x j = { 1 if we select project j 0 otherwise The project selection problem can be formulated as follows: maximize 20x 1 + 40x 2 + 20x 3 + 15x 4 + 30x 5 subjec to 5x 1 + 4x 2 + 3x 3 + 7x 4 + 8x 5 25 x 1 + 7x 2 + 9x 3 + 4x 4 + 6x 5 25 8x 1 + 10x 2 + 2x 3 + x 4 + 10x 5 25 x j {0, 1} for all j The three inequality constraints come from the yearly budget of $25 in years 1, 2, and 3 Operations Research Methods 3

Suppose that due to the nature of the projects we have the following additional instructions At most one of projects 1, 3, and 5 can be selected Mutually exclusive decisions Project 2 cannot be selected unless both projects 3 and 4 are selected Dependent decisions Operations Research Methods 4

If we relax the ILP to an LP, namely, replace x j {0, 1} by 0 x j 1 for all j, then the optimal solution is x 1 = 0.5789, x 2 = x 3 = x 4 = 1, x 5 = 0.7368. This solution is not suitable for this yes-no decision. If we round the fractional values, we get all variables equal to 1. BUT this is not a feasible solution. Therefore, the rounding procedure is not a good idea. Operations Research Methods 5

Application: Set Covering Set Covering problem To promote on-campus safety, the U of A Security Department is in the process of installing emergency telephones at selected locations. The department wants to install the minimum number of telephones, provided that each of the campus main streets is served by at least one telephone. It is reasonable to place the telephones at street intersections so that each telephone will Lecture 22 To promote on-campus safety, the U of A Security Department is in the process of installing cameras at selected locations. The department wants to install the minimum number of cameras while providing a surveillance coverage for each of the campus main streets. It is reasonableserve to place at the least cameras two streets. at In intersections the following so that picture, each camera the eight serves at least candidate locations are denoted by numbers 1 to 8. two streets. The eight candidate locations are given in the figure, indexed by 1 through 8. Provide an ILP formulation of the problem. 7 Operations Research Methods 6

Let x j be a decision variable for the placement of a camera at location j, j = 1,..., 8, defined by x j = { 1 if location j is selected for a camera placement 0 otherwise We want to minimize the sum of these variables. We have a constraint per street (a requirement that each street has to be covered). Operations Research Methods 7

The surveillance coverage problem can be formulated as follows: maximize 8 j=1 x j subject to 5x 1 + 4x 2 + 3x 3 + 7x 4 + 8x 5 25 x 1 + x 2 1, x 2 + x 3 1 streets A and B x 4 + x 5 1, x 7 + x 8 1 streets C and D x 6 + x 7 1, x 2 + x 6 1 streets E and F x 1 + x 6 1, x 4 + x 7 1 streets G and H x 2 + x 4 1, x 5 + x 8 1 streets I and J x 3 + x 5 1 street K x j {0, 1} for all j Operations Research Methods 8

Modeling Fixed Charge In some applications, we have two types of costs: an initial and a cost per unit of time. The initial cost ( set-up cost, fixed charge ) is incurred only at the start the activity/service. The cost per unit of time is incurred during the period of the activity/service. Mathematically, given the fixed charge F j and the unit cost c j of some activity j, the cost of activity j over a period of time x j is given by F j + c j x j if x j > 0 and 0 otherwise Operations Research Methods 9

Fixed Charge Example There are three mobile-phone service providers in a given area, ABell, BBell and CBell. ABell charge a flat fee of $16 per month plus $.25 per minute. BBell charges $25 per month and $.21 per minute. CBell charges $18 per month and $.22 per minute. A customer needs to sign up for a service for an average of 200 minutes of monthly calls. Which company should the customer subscribe for the service to minimize the cost of the monthly phone bill? Formulate the problem as ILP. Operations Research Methods 10

The indices 1 = 1, 2, and 3 correspond to ABell, BBell and CBell respectively. Introduce a decision variable y j per phone company, i.e., y j = { 1 if company j is selected 0 otherwise Also, introduce a variable x j indicating the amount of the service time, i.e., x j = number of call minutes with provider j The fact that the customer will choose among the three providers for total of 200 minutes can be modeled as x 1 + x 2 + x 3 = 200. The maximum subscribed time x j is 200 minutes for provider j only if the provider is selected for the service 0 x j 200y j for all j Operations Research Methods 11

The objective is to minimize 16y 1 + 0.25x 1 + 25y 2 + 0.21x 2 + 18y 3 + 0.22x 3 Putting these all together, we obtain the following ILP formulation: minimize 16y 1 + 0.25x 1 + 25y 2 + 0.21x 2 + 18y 3 + 0.22x 3 subject to x 1 + x 2 + x 3 = 200 x j 200y j 0 for all j x j 0 for all j y j {0, 1} for all j Operations Research Methods 12

Either-Or Requirement Modeling Suppose you have two constrains and you can choose only one of them. For example, the constraints may represent two alternative resource consumption relations. Specifically suppose a company wants to introduce two new products 1 and 2, which can be made on two different machines. The machine production times is given by 3x 1 + 2x 2 250 machine 1 x 1 + 4x 2 600 machine 2 The company needs to purchase a machine and can afford to buy only one machine. Model this requirement within ILP setting. Operations Research Methods 13