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

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

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

Chapter 2 Introduction to Optimization & Linear Programming

Integer Linear Programming Modeling

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

Solving an optimization problem of a profit calculation taking into account fixed costs in Excel

MVE165/MMG631 Linear and integer optimization with applications Lecture 8 Discrete optimization: theory and algorithms

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

5 Integer Linear Programming (ILP) E. Amaldi Foundations of Operations Research Politecnico di Milano 1

Optimization Methods in Management Science

Chapter 3: Discrete Optimization Integer Programming

Computational Integer Programming. Lecture 2: Modeling and Formulation. Dr. Ted Ralphs

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

Optimization Methods in Management Science

Modern Logistics & Supply Chain Management

Operations Research: Introduction. Concept of a Model

Optimization Methods in Management Science

Agenda today. Introduction to prescriptive modeling. Linear optimization models through three examples: Beyond linear optimization

3.10 Column generation method

0-1 Reformulations of the Network Loading Problem

OPTIMIZATION. joint course with. Ottimizzazione Discreta and Complementi di R.O. Edoardo Amaldi. DEIB Politecnico di Milano

CHAPTER 11 Integer Programming, Goal Programming, and Nonlinear Programming

Joint assignment, scheduling and routing models to Home Care optimization: a pattern based approach Online Supplement

Optimization Methods in Management Science

Chapter 3: Discrete Optimization Integer Programming

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

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

3.10 Column generation method

Transportation Problem

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

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

Models and valid inequalities to asymmetric skill-based routing problems

19. Fixed costs and variable bounds

Demo 1: Solving LP problem graphically and with Excel Solver

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

3.10 Lagrangian relaxation

Decision Procedures An Algorithmic Point of View

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

Lecture 8: Column Generation

Application 1 - People Allocation in Line Balancing

56:270 Final Exam - May

System Planning Lecture 7, F7: Optimization

Mathematics 13: Lecture 10

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

2. Linear Programming Problem

Integer Linear Programming (ILP)

Graphical and Computer Methods

Ch.03 Solving LP Models. Management Science / Prof. Bonghyun Ahn

ISE 330 Introduction to Operations Research: Deterministic Models. What is Linear Programming? www-scf.usc.edu/~ise330/2007. August 29, 2007 Lecture 2

Welcome to CPSC 4850/ OR Algorithms

Lecture 8: Column Generation

Introduction to sensitivity analysis

Optimization of a Nonlinear Workload Balancing Problem

CHAPTER 3: INTEGER PROGRAMMING

Methods and Models for Combinatorial Optimization

Linear programming: introduction and examples

Chapter 5 Integer Programming

Introduzione al corso RO2

Recoverable Robustness in Scheduling Problems

Lecture 7: Lagrangian Relaxation and Duality Theory

Modelling linear and linear integer optimization problems An introduction

MAT016: Optimization

Introduction into Vehicle Routing Problems and other basic mixed-integer problems

Linear Programming, Lecture 4

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

ORI 390Q Models and Analysis of Manufacturing Systems First Exam, fall 1994

3E4: Modelling Choice

Linear Programming: Computer Solution and Sensitivity Analysis

INTEGER PROGRAMMING. In many problems the decision variables must have integer values.

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

SOLVING INTEGER LINEAR PROGRAMS. 1. Solving the LP relaxation. 2. How to deal with fractional solutions?

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

IE 5531: Engineering Optimization I

Integer programming: an introduction. Alessandro Astolfi

...(iii), x 2 Example 7: Geetha Perfume Company produces both perfumes and body spray from two flower extracts F 1. The following data is provided:

Integer Programming and Branch and Bound

Study Unit 3 : Linear algebra

The Probabilistic Pickup and Delivery Problem

Integer Programming Introduction. C, T int (3) 6C +7T 21 (1) Maximize : 12C +13T Subject to

Chapter 2 Introduction to Optimization and Linear Programming

Optimisation and Operations Research

Bounds on the Traveling Salesman Problem

Tightening a Discrete Formulation of the Quadratic Assignment Problem

1 Algebraic Methods. 1.1 Gröbner Bases Applied to SAT

Solution Cases: 1. Unique Optimal Solution Reddy Mikks Example Diet Problem

Section Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010

ENM 202 OPERATIONS RESEARCH (I) OR (I) 2 LECTURE NOTES. Solution Cases:

In the original knapsack problem, the value of the contents of the knapsack is maximized subject to a single capacity constraint, for example weight.

Math 273a: Optimization

CLASS NOTES: BUSINESS CALCULUS

Advanced linear programming

Systems of Linear Equations in Two Variables. Break Even. Example. 240x x This is when total cost equals total revenue.

Activity Predecessors Time (months) A - 2 B A 6 C A 4 D B 4 E C 2 F B,D 1 G D,E 2 H C 1. dummy0 C4 E2

A mass-fow MILP formulation for energy-efficient supplying in assembly lines

Auctioning Substitutable Goods

Examples of linear systems and explanation of the term linear. is also a solution to this equation.

Special cases of linear programming

Models and Cuts for the Two-Echelon Vehicle Routing Problem

Multicriteria Decision Making

Transcription:

Logistics Lecture notes Maria Grazia Scutellà Dipartimento di Informatica Università di Pisa September 2015 These notes are related to the course of Logistics held by the author at the University of Pisa. They are based on some books from the literature, as acknowledged at the end of each chapter.

Chapter 3 Introduction to Mixed Integer Linear Problems Many business problems need integer solutions (e.g. we need to decide how many employees to assign to each shift, how many vehicles to purchase... ), so it is useful to introduce a new type of problem called (Mixed) Integer Linear Programming ((M)ILP): it is a linear programming problem where certain decision variables must assume only integer values. Hereafter we will often use ILP also to denote mixed integer linear problems. For example, let s resume the Blue Ridge Hot Tubs problem from the previous chapter: max 350x 1 + 300x 2 x 1 + x 2 200 9x 1 + 6x 2 1,566 (1,520) 12x 1 + 16x 2 2,880 (2,650) x 1, x 2 0 x 1, x 2 integer whose optimal solution was already integer (x 1 = 122, x 2 = 78). However, by changing the two right hand sides (RHS) as in parentheses, we would get x 1 = 116.9444, x 2 = 77.9167: so, integrality constraints have to be added to the model (from LP to ILP). How can we address ILP? 1. Solving its Linear Relaxation, i.e. eliminating the integrality constraints, and then rounding the obtained solution, e.g. x 1 = 116, x 2 = 77 (with profit = 63,700). However, this is not necessarily an optimum solution to the ILP. Notice that the optimum LP value, that is 64,306, is an upper bound to the optimum ILP value (for a maximization problem). 2. Solving directly the ILP model (e.g. via the Excel solver). 25

26 3.1. Other examples 3.1 Other examples 3.1.1 A fixed-charge problem Remington Manufacturing is planning its next production cycle. They produce 3 products (say Product 1, Product 2 and Product 3), each of which must undergo machining, grinding and assembly operations to be completed. Table 3.1 summarizes the hours required by each unit of product, and the total hours available for each operation. However, manufacturing units of Product 1 requires a setup operation on the production line that costs 1,000; similarly for Product 2 (800) and Product 3 (900) (fixed-charge costs). In order to solve the optimization problem we must determine the most profitable mix of products to produce. Define the following decision variables: x i : amount of Product i to be produced, i = 1, 2, 3; 1 if x i > 0 y i =, i = 1, 2, 3. 0 otherwise The y i are auxiliary binary variables, which will be used to express logical conditions. Using these variables, an ILP model for Remington Manufacturing is: max 48x 1 + 55x 2 + 50x 3 1000y 1 800y 2 900y 3 2x 1 + 3x 2 + 6x 3 600 6x 1 + 3x 2 + 4x 3 300 5x 1 + 6x 2 + 2x 3 400 x 1 50 y 1 linking x 2 67 y 2 constraints x 3 75 y 3 x i 0, i = 1, 2, 3 y i {0, 1}, i = 1, 2, 3 Prod 1 Prod 2 Prod 3 total hours machining 2 3 6 600 grinding 6 3 4 300 assembly 5 6 2 400 unitary profit 48 55 50 Table 3.1: Production requirements and availability for Remington Manufacturing

Chapter 3. Introduction to Mixed Integer Linear Problems 27 In the linking constraints, the circled values (let us call them M) are upper bounds on the optimal values of the x i. The models are much easier to solve if M is kept as small as possible: therefore we can set M = 60 in the first linking constraint (no more than 60 units of Product 1 can be produced), and to 67 and 75 in the remaining cases. In order to implement the Remington Manufacturing model as a spreadsheet model, we refer the interested reader to C. Ragsdale (2004): Section 6.13.5 and to C. Ragsdale (2004): Section 6.12, 6.13. 3.1.2 A transportation problem B&G Construction is a commercial building company that signed contracts to construct four buildings. Each building project requires a large amount of cement to be delivered to the building sites, and three cement companies have submitted bids for supplying the cement. Table 3.2 summarizes the prices for delivered ton of cement and the maximum amount of cement each of the three companies may deliver. cost per ton Proj. 1 Proj. 2 Proj. 3 Proj. 4 max supply Company 1 120 115 130 125 525 Company 2 100 150 110 105 450 Company 3 140 95 145 165 550 tons needed 450 275 300 350 Table 3.2: Cement requirements and costs for B&G Construction However constraints get more complicated, because each cement company placed special conditions on its bid: 1. Company 1 will not supply orders of less than 150 tons for any project; 2. Company 2 can supply more than 200 tons to no more than one of the projects; 3. Company 3 will accept only orders that total 200, 400 or 550 tons (or 0, i.e. no order). The optimization problem is to determine the amounts of cement to purchase from each supplier to meet the demands for each project, by satisfying the complicating constraints, at a minimum cost. This is a transportation problem with additional constraints. Define the decision variables as follows: x ij : tons of cement supplied from company i for project j; y 1j {0, 1}, j = 1,... 4 for the additional constraint of Company 1; y 2j {0, 1}, j = 1,... 4 for the additional constraint of Company 2;

28 3.1. Other examples y 3k {0, 1}, k = 1, 2, 3 for the additional constraint of Company 3. The objective function, to be minimized, is the sum of the amounts of cement supplied by each company for each project, multiplied by their associated unitary costs, to be minimized: min 120x 11 + 115x 12 + 130x 13 + 125x 14 + + 100x 21 + 150x 22 + 110x 23 + 105x 24 + + 140x 31 + 95x 32 + 145x 33 + 165x 34. Each company may supply a total maximum amount of cement: x 11 + x 12 + x 13 + x 14 525 x 21 + x 22 + x 23 + x 24 450 x 31 + x 32 + x 33 + x 34 550. Each project must be supplied with a specific total amount of cement from any of the companies: x 11 + x 21 + x 31 = 450 x 12 + x 22 + x 32 = 275 x 13 + x 23 + x 33 = 300 x 14 + x 24 + x 34 = 350. The additional constraint placed by Company 1 on its bid can be expressed as follows: if x 1j > 0, then the associated boolean variable y 1j must be 1 : x 11 525y 11 x 12 252y 12 x 13 525y 13 x 14 525y 14 ; and also if y 1j = 1 then x 1j must be greater than or equal to 150 : x 11 150y 11 x 12 150y 12 x 13 150y 13 x 14 150y 14. The additional constraint placed by Company 2 on its bid ( more than 200 tons to no more than one project ) can be expressed as follows:

Chapter 3. Introduction to Mixed Integer Linear Problems 29 x 21 200 + 250y 21 x 22 200 + 250y 22 x 23 200 + 250y 23 x 24 200 + 250y 24 y 21 + y 22 + y 23 + y 24 1. The total amount of cement ordered from Company 3 can be only 200 (if y 31 = 1), 400 (if y 32 = 1), 550 (if y 33 = 1) or 0 (if y 31 = y 32 = y 33 = 0): x 31 + x 32 + x 33 + x 34 = 200y 31 + 400y 32 + 550y 33 y 31 + y 32 + y 33 1. The overall ILP model is presented below. In order to implement the B&G Construction model as a spreadsheet model, we refer the interested reader to C. Ragsdale (2004): Section 6.16. References C. Ragsdale (2004): Chapter 6

30 3.1. Other examples min 120x 11 + 115x 12 + 130x 13 + 125x 14 + + 100x 21 + 150x 22 + 110x 23 + 105x 24 + + 140x 31 + 95x 32 + 145x 33 + 165x 34 x 11 + x 12 + x 13 + x 14 525 x 21 + x 22 + x 23 + x 24 450 x 31 + x 32 + x 33 + x 34 550 x 11 + x 21 + x 31 = 450 x 12 + x 22 + x 32 = 275 x 13 + x 23 + x 33 = 300 x 14 + x 24 + x 34 = 350 x 11 525y 11 x 12 525y 12 x 13 525y 13 x 14 525y 14 x 11 150y 11 x 12 150y 12 x 13 150y 13 x 14 150y 14 x 21 200 + 250y 21 x 22 200 + 250y 22 x 23 200 + 250y 23 x 24 200 + 250y 24 y 21 + y 22 + y 23 + y 24 1 x 31 + x 32 + x 33 + x 34 = 200y 31 + 400y 32 + 550y 33 y 31 + y 32 + y 33 1 x ij 0 i = 1, 2, 3, j = 1, 2, 3, 4 y 1j {0, 1} j = 1, 2, 3, 4 y 2j {0, 1} j = 1, 2, 3, 4 y 3k {0, 1} k = 1, 2, 3 Model 3.1: The B&G problem

Textbooks Bigi, G., A. Frangioni, G. Gallo, and M.G. Scutellà (2014). Appunti di Ricerca Operativa. Italian. url: http : / / didawiki. di. unipi. it / doku. php / ingegneria / ricercaoperativa1/start#testi_di_riferimento. Drezner, Z. and H.W. Hamacher (2004). Facility Location: Applications and Theory. Springer series in operations research. Springer. isbn: 9783540213451. Ghiani, G., G. Laporte, and R. Musmanno (2004). Introduction to Logistics Systems Planning and Control. Wiley Interscience Series in Systems and Optimization. Wiley. isbn: 9780470091654. Ragsdale, C.T. (2004). Spreadsheet Modeling and Decision Analysis: A Practical Introduction to Management Science. Cengage South-Western. isbn: 9780324321777. Toth, P. and D. Vigo (2002). The Vehicle Routing Problem. Monographs on Discrete Mathematics and Applications. Society for Industrial and Applied Mathematics. isbn: 9780898715798. 93