Job shop production 2 (QAP)

Slides:



Advertisements
Similar presentations
The Quadratic Assignment Problem (QAP)
Advertisements

Heuristic Search techniques
10-1 Chapter 10 Facilities Layout and Location McGraw-Hill/Irwin Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved.
Computational Methods for Management and Economics Carla Gomes Module 8b The transportation simplex method.
Activity relationship analysis
Layout and DesignKapitel 4 / 1 (c) Prof. Richard F. Hartl QAP - different space requirements We assume departments, i.e. OE, being either rectangular shaped.
Introduction to Management Science
Tata Letak Fasilitas Manufaktur D0394 Perancangan Sistem Manufaktur Kuliah Ke XXI - XXII.
COMPUTERIZED METHODS OF LAYOUT DESIGN
WINTER 2012IE 368. FACILITY DESIGN AND OPERATIONS MANAGEMENT 1 IE 368: FACILITY DESIGN AND OPERATIONS MANAGEMENT Lecture Notes #6 Computerized Methodologies.
Operations Management
9-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Multicriteria Decision Making Chapter 9.
Multicriteria Decision Making
GROUP MEMBERS Ahsen Ali 11-IE-06 Mohsin Tariq 11-IE-22
Chapter 6 Production Processes.
FACILITY LAYOUT PROBLEM
1 Slides used in class may be different from slides in student pack Technical Note 6 Facility Layout  Facility Layout and Basic Formats  Process Layout.
Mba Facility Layout u Basic layouts u Some layout techniques u Assembly line balancing u Service Layout.
© The McGraw-Hill Companies, Inc., Technical Note 5 Facility Layout.
McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved. 1.
© The McGraw-Hill Companies, Inc., Technical Note 5 Facility Layout.
Manufacturing and Service Processes
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All rights reserved.
MANUFACTURING PROCESSES Chapter Seven Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
1 Genetic Algorithms Contents 1. Basic Concepts 2. Algorithm 3. Practical considerations.
Virtual University of Pakistan
The Transportation and Assignment Problems
Keller: Stats for Mgmt & Econ, 7th Ed Chi-Squared Tests
Copyright © Cengage Learning. All rights reserved.
The NP class. NP-completeness
WARM UP Find each equation, determine whether the indicated pair (x, y) is a solution of the equation. 2x + y = 5; (1, 3) 4x – 3y = 14; (5, 2)
Chaptre 2. Facility Layout
APRIA 2014 Annual Conference
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved
St. Edward’s University
Business Department SPRING FINAL EXAM/REVISION.
Transfer Functions Chapter 4
Chapter 4: Linear Programming Lesson Plan
Copyright © Cengage Learning. All rights reserved.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Local Search Algorithms
Structural testing, Path Testing
Facility Design-Week 10 (cont) Computerized Layout Planning
FACILITY LAYOUT Facility layout means:
OST: Chapter 3 (Part 1) Tactical planning: Layout
1.206J/16.77J/ESD.215J Airline Schedule Planning
Tabulations and Statistics
Chapter 3 The Simplex Method and Sensitivity Analysis
MATS Quantitative Methods Dr Huw Owens
Chapter 7 Transportation, Assignment & Transshipment Problems
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
1 Operations Management Layout Strategy. 2 What is Facility Layout Location or arrangement of everything within & around buildings Determines long-run.
Facilities Planning and Design Course code:
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Applied Combinatorics, 4th Ed. Alan Tucker
8 Job Sequencing & Operations Scheduling CHAPTER Arranged by
The General Ledger Setting Up the General Ledger
Lecture 2 Part 3 CPU Scheduling
Principal Component Analysis
Selecting a Solution Path
Generally Discriminant Analysis
Chapter 5 Transportation, Assignment, and Transshipment Problems
Maths for Signals and Systems Linear Algebra in Engineering Lectures 13 – 14, Tuesday 8th November 2016 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR)
Heuristic Minimization of Two Level Circuits
MACHINE GROUPING IN CELLULAR MANUFACTURING With Reduction Of Material Handling As the Objective 19/04/2013 lec # 25 & 26.
Chapter 6 Network Flow Models.
Facilities Planning and Design Course code:
17 Costing Systems: Process Costing
QAP - different space requirements
Presentation transcript:

Job shop production 2 (QAP) OST: Chapter 3 (Part 2) Job shop production 2 (QAP)

The Quadratic Assignment Problem (QAP) The LAP assumed that there are direct cost cij of assignment of machine i to location j Not always realistic: often the assignment cost are rather determined by the product (material flow) * (distance) This leads to the Quadratic Assignment Problem (QAP)

The Quadratic Assignment Problem (QAP) Most common mathematical formulation for intra-company location problems Cost of an assignment is determined by the distances and the material flows between all given entities Each assignment decision has direct impact on the decision referring to all other objects

The Quadratic Assignment Problem (QAP) Activity relationship charts: graphical method for representing the desirability of locating pairs of machines/operations near to each other common letter codes for classification of “closeness” ratings: A Absolutely necessary. Because two machines/operations use the same equipment or facilities, they must be located near each other. E Especially important. The facilities may for example require the same personnel or records. I Important. The activities may be located in sequence in the normal work flow. Nahmias, S.: Production and Operations Analysis, 4th ed., McGraw-Hill, 2000, Chapter 10

The Quadratic Assignment Problem (QAP) common letter codes for classification of “closeness” ratings: O Ordinary importance. It would be convenient to have the facilities near each other, but it is not essential. U Unimportant. It does not matter whether the facilities are located near each other or not. X Undesirable. Locating a welding department near one that uses flammable liquids would be an example of this category. In the original conception of the QAP a number giving the reason for each closeness rating is needed as well. In case of closeness rating “X” a negative value would be used to indicate the undesirability of closeness for the according machines/operations. Nahmias, S.: Production and Operations Analysis, 4th ed., McGraw-Hill, 2000, Chapter 10

The Quadratic Assignment Problem (QAP) Example: Met Me, Inc., is a franchised chain of fast-food hamburger restaurants. A new restaurant is being located in a growing suburban community near Reston, Virginia. Each restaurant has the following departments: 1. Cooking burgers 2. Cooking fries 3. Packing and storing burgers 4. Drink dispensers 5. Counter servers 6. Drive-up server Nahmias, S.: Production and Operations Analysis, 4th ed., McGraw-Hill, 2000, Chapter 10

The Quadratic Assignment Problem (QAP) Activity relationship diagram for the example problem: Nahmias, S.: Production and Operations Analysis, 4th ed., McGraw-Hill, 2000, Chapter 10

The Quadratic Assignment Problem (QAP) Mathematical formulation: we need both distances between the locations and material flow between organizational entities (OE) n organizational entities (OE), all of them are of same size and can therefore be interchanged with each other n locations, each of which can be provided with each of the OE (exactly 1) thi ... transp. intensity, i.e. material flow between OE h and OE i djk ... distance between j and location k (not implicitly symmetric) Transportation costs are proportional to (transported amount) and (distance).

The Quadratic Assignment Problem (QAP) If OE h is assigned to location j and OE i to location k the transportation cost per unit transported from OE h to OE i is determined by djk we determine the total transportation cost by multiplying djk with the material flow between OE h and OE i which is thi thi. h i ... OE  Cost = thi djk djk. j k ... locations

The Quadratic Assignment Problem (QAP) Similar to the LAP: binary decision variables If OE h  location j (xhj = 1) and OE i  location k (xik = 1)  Transportation cost per unit transported from OE h to OE i :  Total transportation cost: j k ... locations h i OE djk. thi.  Cost = thi djk xhj = 1 xik = 1

The Quadratic Assignment Problem (QAP) Objective: Minimize the total transportation costs between all OE Quadratic function  QAP Constraints Identical to LAP!!! für h = 1, ... , n ... each OE h assigned to exactly 1 location j für j = 1, ... , n ... each location j is provided with exactly 1 OE h = 0 or 1 ... binary decision variable

The Quadratic Assignment Problem (QAP) Example: Calculate cost for 3 OE (1 ,2 ,3) and 3 locations (A, B, C) Distances between locations djk Material flow thi A B C 1→A 2→B 3→C A possible solution: 1  A, 2  B, 3  C, i.e. x1A = 1, x2B = 1, x3C = 1, all other xij = 0 Total transportation cost: 0*0 + 1*1 + 2*1 + 1*2 + 0*0 + 1*2 + 3*3 + 1*1 + 0*0 = 17

The Quadratic Assignment Problem (QAP) This solution is not optimal since OE 1 and 3 (which have a high degree of material flow) are assigned to locations A and C (which have the highest distance between them). A better solution would be.: 1  C, 2  A and 3  B, i.e. x1C = 1, x2A = 1, x3B = 1. with total transportation cost: 0*0 + 3*1 + 1*1 + 2*2 + 0*0 + 2*1 + 1*3 + 1*1 + 0*0 = 14 Distances Material flow 1→A 2→B 3→C 2  A 3  B 1  C

The Quadratic Assignment Problem (QAP) We resorted the matrix such that row and columns appear the following sequence 1  C, 2  A and 3  B, i.e C, A, B (it is advisable to perform the resorting in 2 steps: first rows than columns or the other way round)

The Quadratic Assignment Problem (QAP) Starting heuristics: Refer to the combination of one of the following possibilities to select an OE and a location. The core is defined by the already chosen OE After each iteration another OE is added to the core due to one of the following priorities

Selection of (non-assigned) OE A1 having the maximum sum of material flow to all (other) OE (can be computed beforehand – preprocessing) A2 a) having the maximum material flow to the last-assigned OE b) having the maximum material flow to any assigned OE A3 having the maximum material flow to all assigned OE (core) A4 random choice

Selection of (non-assigned) locations B1 having the minimum total distance to all other locations (can be computed beforehand) B2 neighbour of the last-chosen location B3 a) leading to the minimum sum of transportation cost to the core b) like a) but furthermore we try to exchange the location with neighbour OE c) a location (empty or allocated) such that the sum of transportation costs within the new core is minimized (in case an allocated location is selected, the displaced OE is assigned to an empty location) B4 random choice

Example Simplest version: Combination of A1 and B1: Arrange all OE according to decreasing sum of material flow Arrange all locations according to increasing distance to all other locations Manhatten-distance between locations. (matrix is symmetric -> consideration of the triangle matrix is sufficient) A B C D E F G H I

Example - Distances A B C D E F G H I L A B C D E F G H I  - 1 2 3 4   E

Example - Distances L A B C D E F G H I  - 1 2 3 4   18 15 18 15 E 12 15 18 15 18 Sequence of locations (according to B1: increasing distances): E, B, D, F, H, A, C, G, I

Example – Given Material Flow Sum of material flow between 15 and 51 OE 1 2 3 4 5 6 7 8 9  -   3 10 3 20 5 15 4 7 4 4 Sequence of OE (according to A1: decreasing material flow): 3, 5, 2, 7, 4, 6, 8, 9, 1

Example - Assignment Sequence of OE: 3, 5, 2, 7, 4, 6, 8, 9, 1 Sequence of locations: E, B, D, F, H, A, C, G, I Assignment: OE 1 2 3 4 5 6 7 8 9 Loc. I D E H B A F C G 6→A 5→B 8→C 2→D 3→E 7→F 9→G 4→H 1→I

Example – Total costs 6→A 5→B 8→C 2→D 3→E 7→F 9→G 4→H 1→I OE 1 2 3 4 5 - 3*3   3*1 1*2 2*2 4*2 5*1 3*2 2*1 1*1 OE 1 and 5 are assigned to locations I and B  3 (Distance 1-5) * 3 (Flow I-B) Total cost = 61

Improvement heuristics for the QAP Try to improve solutions by exchanging OE-pairs (see the introductory example) Check if the exchange of locations of 2 OE reduces costs. Exchange of OE-triples only if computational time is acceptable. There are a number of possibilities to determine OE-pairs (which should be checked for an exchange of locations):

The Quadratic Assignment Problem (QAP) Selection of pairs for potential exchanges: C1 all n(n - 1)/2 pairs C2 a subset of pairs C3 random choice Selection of pairs which finally are exchanged: D1 where exchange leads to the highest cost reduction. (best pair) D2 the first pair where exchange leads to a cost reduction. (first pair)

The Quadratic Assignment Problem (QAP) Solution quality Combination of C1 and D1: Quite high degree of computational effort. Relatively good solution quality A common method is to start with D2 and skip to D1 as soon as the solution is reasonably good. CRAFT : Well-known (heuristic) solution method For problems where OE are of similar size CRAFT equals a combination of C1 and D1

The Quadratic Assignment Problem (QAP) Random Choice (C3 and D2): Quite good results Reduces the risk to be trapped in local optima The basic idea and several adaptions/combinations of A, B, C, and D are discussed in literature

„Umlaufmethode“ (Circular Method) Heurisitic method Combination of starting and improvement heuristics Components: Initialization (i = 1): OE having the maximum sum of material flow [A1] is assigned to the centre of locations (i.e. location having the minimum sum of distances to all other locations [B1]). Iteration i (i = 2, ... , n): assign OE i

„Umlaufmethode“ Part 1: Selection of OE and of empty location: Select OE with maximum sum of material flow to all OE assigned to the core [A3] Assign selected OE to an empty location so that the sum of transportation costs to the core is minimized [B3a]

„Umlaufmethode“ Part 2: Improvement step from iteration i = 4 on: Check pair wise exchanges of the last-assigned OE with all other OE in the core [C2] If an improvement is found, the exchange is done [D2] and we start again with Part 2

Example – Part 1 Initialization (i = 1): E = centre Assign OE 3 to centre. A B C D E 3 F G H I

Sequence of assignment OE 1 2 3 4 5 6 7 8 9  -   Sequence of assignment i = 1 2 3 4 5 6 7 8 9 OE    5 2 7 4 6 8 9 1 3  i = 9 2  i = 3: 2 highest mat.flow to core (3,5) i = 1: assign 3 first 1 1 i = 5   i = 2: 5 highest mat.flow to 3 2  i = 6 2 4  i = 4 1  i = 7  i = 8

More efficient: store sum of flows OE 1 2 3 4 5 6 7 8 9  -   More efficient: store sum of flows i = 1 2 3 4 5 6 7 8 9 OE    5 2 7 4 6 8 9 1 3 3 3 3 3 3 3  i = 9 5  i = 3: 2 highest mat.flow to core (3,5) i = 1: assign 3 first 3 4 5 i = 5   i = 2: 5 highest mat.flow to 3 4 4 4 4  i = 6 2 6  i = 4 4 4 4 4 4  i = 7 4 4 4 4 4 4  i = 8

Example – Part 1 Iteration i = 2 The maximum material flow to OE 3 is from OE 5 Distances dBE = dDE = dFE = dHE = 1  select D (random), In iteration i = 2 OE 5 is assigned to D-5. A B C D 5 E 3 F G H I

Example – Part 1 Iteration i = 3 B C D 5 E 3 F G H I The maximum material flow to the core (3,5) is from OE 2 Select location X, such that dXEt23 + dXDt25 = dXE3 + dXD2 is minimal: (A, B, F, G od. H) X = A dAE3 + dAD2 = 23 + 12 = 8 X = B dBE3 + dBD2 = 13 + 22 = 7 X = F dFE3 + dFD2 = 13 + 22 = 7 X = G dGE3 + dGD2 = 23 + 12 = 8 X = H dHE3 + dHD2 = 13 + 22 = 7 B, F or H  B is selected In iteration i = 3 we assign OE to B A B 2 C D 5 E 3 F G H I

Example – Part 1 Iteration i = 4 B 2 C D 5 E 3 F G H I The maximum material flow to the core (2,3,5) is from OE 7 (2, 3, 5) Select location X, such thath dXEt73 + dXDt75 + dXBt72 = dXE0 + dXD2 + dXB4 is minimal according to the given map -> A is the best choice In iteration i = 4 we tentatively assign OE 7 to location A A 7 B 2 C D 5 E 3 F G H I

Example – Part 2 Try to exchange A with E, B or D and calculate the total costs: Original assignment (Part 1): E-3, D-5, B-2, A-7 Cost =15+13+20+22+12+14 = 18 try E-3, D-5, A-2, B-7 Cost = 15+23+10+12+22+14 = 21 try E-3, A-5, B-2, D-7 Cost = 25+13+10+12+12+24 = 25 try A-3, D-5, B-2, E-7 Cost = 15+13+20+22+12+14 = 18 Exchanging A with E would be possible but does not lead to a reduction of costs. Thus, we do not perform any exchange but go on with the solution determined in part 1…and so on…

Example – Part 2 After 8 iterations without part 2: Cost = 54 With part 2 (last-assigned OE (9) is to be exchanged with OE 4): Cost = 51 While a manual calculation of larger problems is obviously quite time consuming an implementation and therefore computerized calculation is quite simple

QAP - different space requirements We assume departments, i.e. OE, being either rectangular shaped or consisting of rectangular pieces. Exchange of 2 departments may also have a direct influence on shape and/or location of other departments. We have to determine a method for measuring distances, since the distance may depend on the shape of a department. Orthogonal distance between OE-boundaries Rectilinear distance between centre points, e.g. centroid locations (centre of gravity, balance point) -> we use this for the CRAFT algorithm 1 4 2 5 3

CRAFT Computerized relative allocation of facilities techniques One of the first computer-aided layout routines Improvement method -> an initial layout (starting solution) is required Actually, CRAFT means to evaluate all possible exchanges (pairwise; triples is also possible), and performs the best among them. For the general QAP (similar space requirements for all OE) it equals a combination of rule C1 + D1 (see course material on QAP). Some extensions concerning the evaulation of possible exchanges enables the application to the QAP for different space requirements.

CRAFT The selection of departments for exchange is based on the following considerations. It is always possible to exchange OE without affecting the remaining OE that have the same space requirement, that share a common boundary (having a common boundary means that the OE share at least 1 side boundary of their rectangles). E.g. OE 2 and OE 5 in Figure 2‑2 share 1 side boundary. For the evaluation of exchanges we assume that, if we, e.g., exchange OE A and OE B, the old centroid of OE B becomes the new centroid of A, and vice versa (-> exact if we have similar space requirements, but not in case of different requirements). Thus, whenever we have performed an exchange (which has been identified as the best one in the current iteration) we have to revise the estimated costs (predicted costs) taking the „real“ new centroid into account.

CRAFT Estimate total transportation costs considering all pairwise exchanges of OE that share at least 1 border or that are of same size (i.e. equal number of rectangles). Perform that exchange that leads to the minimum estimated total transportation costs (based on an estimation of distances as described above). If all possible exchanges lead to an increase of predicted total costs, stop here. Revise the estimated distance chart and calculate the new total costs. Go back to step 1.

CRAFT Example: A manufacturing firm has built a new facility in order to house 4 departments (A, B, C, D). The facility is 100m2 by 50m2. The plant manager has chosen an initial layout and determined the material flow between all departments. The distance between departments is assumed to be the rectilinear distance between centroid locations. Try to improve the initial layout by applying the CRAFT algorithm (pairwise exchanges). -> EXCEL FILE Nahmias, S.: Production and Operations Analysis, 4th ed., McGraw-Hill, 2000, Chapter 10