layout skriptum extended

Upload: -

Post on 03-Apr-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Layout Skriptum Extended

    1/37

    Modul

    Layout and Design

    Prof. Dr. Richard F. Hartl

    Dr. Margaretha Preusser

    SS 2009

    Produktion und Logistik

  • 7/28/2019 Layout Skriptum Extended

    2/37

    Hartl, Preusser Layout and Design 2

    Produktion und Logistik

    Inhaltsverzeichnis

    1. Introduction ..................................................................................................................... 4

    2. Job shop production ....................................................................................................... 9

    2.1. The Linear Assignment Problem ............................................................................. 10

    2.1.1. Formulation as transportation problem ........................................................ 11

    2.1.2. Assignment Method (Kuhns Algorithm) .................................................... 132.2. The Quadratic Assignment Problem (QAP) ............................................................ 18

    2.2.1. QAP: Mathematical formulation .................................................................. 20

    2.2.2. Starting heuristics ......................................................................................... 22

    2.2.3. Improvement methods .................................................................................. 23

    2.2.4. Umlaufmethode ........................................................................................ 24

    1. Appendix A: Methodological Basics ............................................................................ 34

    Complexity ...................................................................................................................... 34

    Costs and distances ......................................................................................................... 35

    Basics on Graph Theory .................................................................................................. 35

  • 7/28/2019 Layout Skriptum Extended

    3/37

    Hartl, Preusser Layout and Design 3

    Produktion und Logistik

  • 7/28/2019 Layout Skriptum Extended

    4/37

    Hartl, Preusser Layout and Design 4

    Produktion und Logistik

    1. Introduction12

    Layout decisions are one of the key facts determining the long-run efficiency of operations.

    Layouts have numerous strategic implications because they establish an organizations

    competitive priorities in regard to capacity, processes, flexibility, and cost. They are associatedwith the tactical decision horizon and are dedicated to the concretion of strategic decisions like,

    e.g., facility location. Configured production systems are input for the operational level, where

    the goal is to run the given system as efficiently a possible.

    An efficient layout facilitates and reduces costs of material flow, people, and information

    between areas. To achieve these objectives, a variety of configuration designs have been

    developed. The most relevant ones, in the context of this course, are:

    1. Fixed-position layout: addresses the layout requirements of large, bulky projects

    2. Job shop production (Process-oriented layout): deals with low-volume, high-varietyproduction

    3. Cellular manufacturing systems (work cell layout): arranges machinery and equipmentto focus on production of a single product or group of related products

    4. Flow shop production (Product-oriented layout): seeks the best personnel and machineutilization in repetitive or continuous production.

    As a matter of fact layouts 1 and 2 are often described as centralized, and layouts 3 and 4 as

    decentralized manufacturing systems.

    Example2: To illustrate the differences in fixed-position layout, job shop production, cellular

    manufacturing systems, and flow shop production consider a situation in which four parts (A, B,

    C, D) are to be produced and assembled into a single product. The processing sequence for part

    A is saw, turn, mill, and drill; for part B it is saw, mill, drill, and paint; for part C the processing

    sequence is grind, mill, drill, and paint; and for part D the sequence is weld, grind, turn, and drill.

    All parts go to a central assembly department. The following table contains the proportional

    capacity requirement of each part on each machine relative to the capacity availability of the

    machine in one time period.

    Equipment requirements

    Part Weld Grind Saw Turn Mill Drill PaintA - - 0.5 0.5 0.3 0.2 -

    B - - 0.4 - 0.5 0.3 0.2

    C - 0.4 - - 0.3 0.5 0.3

    D 0.3 0.5 - 0.3 - 0.2 -

    1Heizer, J., Render, B., Operations Management, Prentice Hall, 2006, Chapter 9

    2 Francis, R., McGinnis, L., White, J., Facility Layout and Location: An Analytical Approach, Prentice Hall, 1992

  • 7/28/2019 Layout Skriptum Extended

    5/37

    Hartl, Preusser Layout and Design 5

    Produktion und Logistik

    Based on the given capacity requirements we know that the minimum equipment needed is: 1

    weld, 1 grind, 1 saw, 1 turning machine, 2 mills (0.3+0.5+0.3 > 1), 2 drills, and 1 painting

    machine.

    According to the layout concepts listed above the following configurations for the example

    problem could be realized (this is not a complete list of all possible configurations but anillustrative selection of possible realizations).

    1. In case of a fixed-position layout it may be sufficient to have the minimum machineequipment (see above). But depending on how production is scheduled it could also be

    necessary to install more machines in order to come up with the needed production

    output.

    2. By applying a job shop production system we are able to reach the minimum machineequipment. Clearly, depending on production scheduling it may become necessary to

    install more machines than the minimum equipment.

    Figure 1-1: Fixed-position layout

    Figure 1-2: Job shop production

  • 7/28/2019 Layout Skriptum Extended

    6/37

    Hartl, Preusser Layout and Design 6

    Produktion und Logistik

    3. Figure 1-3 illustrates a cellular manufacturing system for the example problem. For thechosen configuration (2 work cells) it is not possible to realize the minimum machine

    equipment. We need an additional turning machine and an additional painter.

    Figure 1-3: Cellular manufacturing system

    4. Figure 1-4 shows a flow shop production system for the example problem. In this case we

    need 5 machines additional to the minimum equipment (1 grind, 1 saw, 1 turningmachine, 1 mill, and 1 paint):

    Figure 1-4: Flow shop production

    The decision to use a fixed-position layout is generally dictated by a particular characteristic of

    the workpiece. It layout is used when the product is too large or cumbersome to be moved

    through the various processing steps. Consequently, the processes are brought to the product

    rather than taking the product to the processes (e.g. aircraft industry,..).

  • 7/28/2019 Layout Skriptum Extended

    7/37

    Hartl, Preusser Layout and Design 7

    Produktion und Logistik

    This concept is realized by locating workstations or production centres around the product in the

    appropriate processing sequence. Considerable logistics are involved in ensuring that the right

    processes are brought to the product at the right times and are located in the right places.

    Advantages:

    Material movement is reduced.

    Promotes job enlargement by allowing individuals or teams to perform the whole job.

    Highly flexible; can accommodate changes in product design, product mix, andproduction volume.

    Independence of production centres allows scheduling to achieve minimum totalproduction time.

    Limitations:

    Increased movement of personnel and equipment.

    Equipment duplication may occur.

    Higher skill requirements for personnel.

    General supervision required.

    Cumbersome and costly positioning of material and machinery.

    Low equipment utilization.

    However, the decision to use either a job shop, work cell, or flow shop layout generally depends

    on the volumes of production and variety of products being manufactured. Figure 1-5 illustrates a

    volume-variety chart3.

    3 Francis, R., McGinnis, L., White, J., Facility Layout and Location: An Analytical Approach, Prentice Hall, 1992

  • 7/28/2019 Layout Skriptum Extended

    8/37

    Hartl, Preusser Layout and Design 8

    Produktion und Logistik

    Product variety

    Productionvolume

    Flow

    shop

    prod.

    Work

    cells

    Job

    shop

    prod.

    Figure 1-5: Volume-variety chart

    Flow shop production is appropriate for high-volume, low variety conditions. Working cellmanufacturing systems are usually used for in between conditions, and job shop production is

    applied for low-volume high-variety settings. In fact, many real world layouts tend to be a

    combination of all three of them (hybrid layout). The volume-variety mix among products can be

    such that a few products are manufactured using flow shop production, others using job shop

    production, and the remainder using working cell manufacturing. Similarly, it may be useful to

    appropriate to use either job shop production or working cells for the production of individual

    components and to use a flow shop system for the assembly of the components.

    In the following we are going to discuss job shop production, cellular manufacturing systems and

    flow shop production in more detail. Occurring optimization problems and dedicated solution

    methods will be discussed as well.

  • 7/28/2019 Layout Skriptum Extended

    9/37

    Hartl, Preusser Layout and Design 9

    Produktion und Logistik

    2. Job shop production45

    The process-oriented layout can simultaneously handle a wide variety of products. It is typically

    the low-volume, high-variety strategy. Each product or product group undergoes a differentsequence of operations. It is produced moving it from one department to another in the required

    sequence. Different products have different material flows. Thus, it is not efficient to arrange

    machines due to a product-oriented layout (flow shop system) but according to a process-oriented

    layout.

    A process-oriented layout consists of a collection of processing departments or cells. All

    machines involved in performing a particular process are grouped together in a machine shop

    (e.g. drill, weld,..). This concept is used when there are many low-volume, dissimilar products. It

    is also used in case of rapid changes in product mix or volume, as well as when conditions are

    such that neither product-oriented nor cellular manufacturing systems are useful. In comparisonwith cellular manufacturing systems this layout concept is characterized by high degrees of

    interdepartmental flow. A big advantage of this process-oriented layout is its flexibility in

    equipment and labor assignment. The breakdown of one machine need not halt an entire process;

    work can be transferred to other machines in the department.

    Advantages:

    Better utilization of machines can result; consequently, fewer machines are required.

    A high degree of flexibility exists relative to equipment or manpower allocation for

    specific tasks.

    Comparatively low investment in machines is required.

    The diversity of tasks offers a more interesting and satisfying occupation for the operator.

    Specialized supervision is possible.

    Limitations:

    Since longer flow lines are needed, material handling is more expensive.

    Production planning and control systems are more involved than for other layouts.

    Usually, total production time is longer than for other layouts.

    4Heizer, J., Render, B., Operations Management, Prentice Hall, 2006, Chapter 9

    5Francis, R., McGinnis, L., White, J., Facility Layout and Location: An Analytical Approach, Prentice Hall, 1992

  • 7/28/2019 Layout Skriptum Extended

    10/37

    Hartl, Preusser Layout and Design 10

    Produktion und Logistik

    Due to the fact that jobs have to queue before being processed in a machine jobcomparatively large amounts of in-process inventory occur.

    Comparatively high degree of (machine) idle time because machines have to wait untilthe subsequent job is finished with its foregoing process.

    Space and capital are tied up by work in process.

    Because of the diversity of the jobs in specialized departments, higher grades of skill arerequired.

    Negative effects like idle or waiting times should be reduced by using dedicated production

    planning methods (on the operational level) and optimized machine shop arrangement on the

    tactical level. These tactical optimization problems referring to the optimal arrangement of

    machines in job shop production systems are known as Assignment problems. Although the

    typical problem in this context refers to the Quadratic assignment problem we first want to

    introduce the basic model: the Linear assignment problem.

    2.1. The Linear Assignment Problem

    The Linear Assignment Problem (LAP) is one of the most famous problems in linear

    programming and in combinatorial optimization. Apart from its application to intra-company

    location planning is can be used for a number of other planning problems.

    Given

    n machines (jobs, workers)n potential locations ( periods, projects)

    cij ... cost of running machine i on positionj.

    Any machine can be assigned to any location, incurring some cost that may vary depending on

    the machine-location assignment. It is required to use all locations by assigning exactly one

    machine to each location in such a way that the total costs of the assignments are minimized.

    The LP is formulated as follows.

    xij = 1, if machine i is assigned to location j and 0 otherwise

    min1 1

    == =

    n

    iij

    n

    jijxcC s.t.

    =

    n

    jijx

    1

    = 1 for i=1,...,n ...assign all machines

    =

    n

    iijx

    1

    = 1 for j=1,...,n ... 1 machine at each location

    0ijx for i=1,...,n and j=1,...,n

    Example 1: 3 machines, 4 locations and the following costs cij (machine 2 may not be assigned to

    location 2 - > cost ):

  • 7/28/2019 Layout Skriptum Extended

    11/37

    Hartl, Preusser Layout and Design 11

    Produktion und Logistik

    location j =

    i \ j 1 2 3 4

    maschine 1 13 10 12 11

    i = 2 15 13 20

    3 5 7 10 6

    Convert the given problem into a symmetric one by adding dummy-machines (-rows) or dummy-

    locations (-columns) with cost 0:

    location j =

    i \ j 1 2 3 4

    maschine 1 13 10 12 11

    i = 2 15 13 20

    3 5 7 10 6

    dummy 4 0 0 0 0

    Locations being assigned to a dummy-machine remain empty. A machine being assigned to a

    dummy-location means that this machine is physically not allocated to any of the potential

    locations.

    2.1.1. Formulation as transportation problem

    Linear assignment problems can be interpreted as special case of a general transportation

    problem (TP). The latter is formulated as follows:

    m supplier with supplysi, i = 1, , m

    n consumer with demanddj, j = 1, , n

    transportation costscij per unit transported from i toj

    decision variablesxij indicate the amount of units transported from i toj

    Transportation cost min

    1 1

    = = =

    m

    i

    ij

    n

    j

    ijxcK

    Supply =

    =n

    jiji xs

    1

    i = 1, , m

    Demand =

    =m

    iijj xd

    1

    j = 1, , n.

    Nonnegativity 0ijx i = 1, , m; j = 1, , n.

  • 7/28/2019 Layout Skriptum Extended

    12/37

    Hartl, Preusser Layout and Design 12

    Produktion und Logistik

    In order to derive the LAP from the TP we interpret machines as suppliers with a capacity of 1

    and each location as consumer with a demand of 1. Thus, each LAP can be solved as special case

    of transportation problems. It is known that due to the problem structure the optimal solution of a

    TP consists of (m+n-1) integer basis variables (even if we do not explicitly constrain integer

    property!). Clearly, this problem characteristic is valid for the LAP (as it has been derived as

    special case of the TP) as well. Since for the LAP we assume supply (machines) = demand(locations) = 1 it is automatically guaranteed to obtain an optimal solution consisting of exactly n

    decision variables with value 1 while all other variables are 0 (although the formulation basically

    allows non-integer variables as well). Thus, we obtain a feasible solution for the LAP. Clearly,

    finding a feasible solution premises to have an equal number of machines and locations (m=n),

    which has already been mentioned above and is part of the mathematical LAP formulation as

    well.

    Example 1: as TP:

    i \ j 1 2 3 4 si

    1 13 10 12 11 1

    2 15 13 20 1

    3 5 7 10 6 1

    4 0 0 0 0 1

    dj 1 1 1 1

    There is another problem characteristic which we are going to make use of in order to solve the

    LAP: it is always possible to reduce (or increase) all entries of any column or row by a certainvalue without changing the optimal solution (only the absolute costs change, the relation stays

    the same). We use this characteristic in order to generate the maximum amount of 0 entries in the

    cost matrix. By subtracting the smallest element of each column and row from all elements of

    this column/row we generate the maximum number of 0 entries while not having any influence

    on the optimal solution. Clearly, the absolute cost factors do change by this matrix reduction, but

    the relation of assignment costs for each machine/location definitely stays the same.

    Example 2: Cost reduction

    Cost matrix:

    I II III

    A 1 8 15

    B 6 2 10

    C 7 9 3

  • 7/28/2019 Layout Skriptum Extended

    13/37

    Hartl, Preusser Layout and Design 13

    Produktion und Logistik

    In this case the column minimum method finds the optimal solution. Machines A, B, and C are

    assigned to locations I, II, and III, respectively. We end up with total assignment costs of 6

    (=1+2+3).

    Cost reduction:

    I II III

    A 0 6 12

    B 5 0 7

    C 6 7 0

    -1 -2 -3

    Again the column minimum method leads to the following assignment: A-I, B-II, C-III. This

    solution has total (reduced) assignment costs of 0 which implies that we found an optimal

    solution. By adding the sum of reduction values to the reduced assignment costs we again

    determine the total assignment costs: 0+1+2+3=6.

    Usually, especially when solving larger problems, it is necessary to apply some iterations of the

    Transport-Simplex-Method in order to find the optimal solution.

    However, for the LAP we know specialized methods leading to the optimal solution more

    quickly (cf. Appendix A referring to problem complexity). The most famous one will be

    presented in the following.

    2.1.2. Assignment Method (Kuhns Algorithm)6

    Kuhns Algorithm involves adding/subtracting appropriate values to/from the given cost factors

    in order to find the lowest opportunity cost (foregone or not-obtained profits) for each

    assignment.

    There are 3 steps to be followed:

    1. Subtract the smallest number in each column from every number in that column and then,from the resulting matrix, subtract the smallest number in each row from every number in

    that row. This step has the effect of reducing the numbers in the table until a series of

    zeros (at least 1 per column and row), meaning zero opportunity costs, appear.5

    2. Draw the minimum number of vertical and horizontal straight lines necessary to cover allzeros in the table. This minimum number of lines equals the maximum number of zero

    cost assignments. Thus, if the number of lines equals the number of rows/columns in the

    6 Heizer, J., Render, B., Operations Management, Prentice Hall, 2006, Chapter 15

  • 7/28/2019 Layout Skriptum Extended

    14/37

    Hartl, Preusser Layout and Design 14

    Produktion und Logistik

    table, then we can make an optimal assignment. If the number of lines is less than the

    number of rows or columns, we proceed to step 3.

    At this point we want to complete this step of the Assignment Method by specifying the

    procedure during step 2. In fact, finding the minimum number of vertical and horizontal

    lines necessary to cover all zeros in a matrix may be trivial in case of very small matrices,but should be solved systematically in case of larger ones. Thus, we want to introduce the

    following procedure in addition to step 2:

    We proceed systematically by choosing a column or row with as few as possible zero

    entries (preferably exactly one 0) and framing (shading) a 0 in this column or row. This

    leads to an interim assignment.

    Then we cross all remaining zeros in this column or row. Now in each column or row

    related to a framed 0 all other zeros are crossed which means that in this column or row

    no further assignments are possible.

    Now the next column or row with as few as possible non-marked (not crossed and not

    framed) zeros is chosen and so on. We stop as soon as we do not have zeros left to be

    framed. Now we have an arrangement of marked columns and rows including all zeros.

    If we are able to make an assignment with (reduced) costs of 0 for each machine we have

    found an optimal assignment otherwise we proceed as follows:

    2.1. Mark (for example X) all rows with no framed 0

    2.2. Mark all columns having at least 1 crossed 0 in a marked row

    2.3. Mark all rows having a framed 0 in a marked column

    2.4. Repeat 2.2 and 2.3 until there is no column or row left to be marked

    2.5. Mark each non-marked row and each marked column (shaded) with a continuous

    line -> all framed zeros are crossed now and we have the minimum number of

    crossed lines and rows needed to cover all zeros, i.e. the maximum number of

    zero cost assignments. If this number equals the number of rows or columns an

    optimal assignment is already found (in this case it would not have been necessary

    to perform the given subprocedure (2.1.-2.6.) because we should already have

    succeeded in finding a zero cost assignment as described above).

    3. Substract the smallest number not covered by a line from every other uncoverednumber. Add the same number to any number(s) lying at the intersection of any two lines.

    Do not change the value of the numbers that are covered by only one line. Return to step

    2 and continue until an optimal assignment is possible.

    Some assignment problems entail maximizing profit, effectiveness, or payoff of an assignment of

    people to tasks or of jobs to machines. It is easy to obtain an equivalent minimization problem by

    converting every number in the matrix to an opportunity loss. To convert a maximization

    problem to an equivalent minimization problem, we subtract every number in the original matrix

    from the largest single number in that matrix. We then proceed to step 1. It turns out that

  • 7/28/2019 Layout Skriptum Extended

    15/37

    Hartl, Preusser Layout and Design 15

    Produktion und Logistik

    minimizing the opportunity loss produces the same assignment solution as the original

    maximization problem.7

    Example 1:

    i \ j 1 2 3 4 si

    1 13 10 12 11 1 -10

    2 15 13 20 1 -13

    3 5 7 10 6 1 -5

    4 0 0 0 0 1

    dj 1 1 1 1

    Step 1: Reduced costs

    i \ j 1 2 3 4 si

    1 3 0 2 1 1

    2 2 0 7 1

    3 0 2 5 1 1

    4 0 0 0 0 1

    dj 1 1 1 1

    Step 2: Optimal solution?

    i \ j 1 2 3 4 si

    1 3 0 2 1 1

    2 2 0 7 1

    3 0 2 5 1 1

    4 0 0 0 0 1

    dj 1 1 1 1

    In this case we see at first glance that an optimal solution is obtained with the following

    assignment: 1-2 2-3 3-1 4-4 (we have a zero cost assignment for each machine; the minimum

    number of lines needed to cover all zero elements would be equal to the number of

    rows/columns).

    Example 2:

    7 Heizer, J., Render, B., Operations Management, Prentice Hall, 2006, Chapter 15

  • 7/28/2019 Layout Skriptum Extended

    16/37

    Hartl, Preusser Layout and Design 16

    Produktion und Logistik

    Step 1: Cost reduction

    17,5 15 9 5,5 12 -0,5

    16 16,5 10,5 5 10,5

    12 15,5 14,5 11 5,5

    4,5 8 14 17,5 13

    13 9,5 8,5 12 17,5

    -4,5 -8 -8,5 -5 -5,5

    Step 2: Optimal solution?

    12,5 6,5 0 0 6

    11,5 8,5 2 0 5

    7,5 7,5 6 6 0

    0 0 5,5 12,5 7,5

    8,5 1,5 0 7 12

    We are not able to make an assignment with (reduced) costs of 0 for each machine. Thus, we

    proceed with finding the minimum arrangement of marked columns and rows including all 0

    elements.

    12,5 6,5 0 0 6

    11,5 8,5 2 0 5

    7,5 7,5 6 6 0

    0 0 5,5 12,5 7,58,5 1,5 0 7 12

  • 7/28/2019 Layout Skriptum Extended

    17/37

    Hartl, Preusser Layout and Design 17

    Produktion und Logistik

    12,5 6,5 0 0 6 X (1c)

    11,5 8,5 2 0 5 X (2c)

    7,5 7,5 6 6 0

    0 0 5,5 12,5 7,5

    8,5 1,5 0 7 12 X (1a)

    X (1b) X (2b)

    Step 3: Generation of additional zeros.

    From all covered elements we choose the smallest. This element a is going to be subtracted from

    all not covered elements and is going to be added to all elements being covered twice.

    11 5 0 0 4,5

    10 7 2 0 3,5

    7,5 7,5 7,5 7,5 0

    0 0 7 14 7,5

    7 0 0 7 10,5 1 additional zero (assignment 5 2)

    increases the chance the find an assignment

    with total (reduced) costs of 0.

    Step 2: Optimal solution?

    Again we have to find out if we already are able to determine the optimal assignment.

    Iteration 2:

    11 5 0 0 4,5

    10 7 2 0 3,5

    7,5 7,5 7,5 7,5 0

    0 0 7 14 7,5

    7 0 0 7 10,5

    We have found the optimal solution with reduced assignment costs of 0.

    The total costs are calculated by summing up all reduction values (clearly, element a

    determined in step 3 is a reduction value as well):

    K= (4,5 + 8 + 8,5 + 5 + 5,5 + 0,5) + (1,5) = 33,5

  • 7/28/2019 Layout Skriptum Extended

    18/37

    Hartl, Preusser Layout and Design 18

    Produktion und Logistik

    2.2. The Quadratic Assignment Problem (QAP)

    The more common mathematical formulation for intra-company location problems (especially in

    case of job shop production) is the Quadratic Assignment Problem (QAP). For the QAP the cost

    of an assignment is determined by the distances and the material flows between all given entities.

    While, in case of LAP the costs for assigning a machine to a location do not depend on thelocation chosen for any other machine we now want to take distances of locations and material

    flow between entities into account as well. In fact, we are now going to minimize the total

    transportation costs occurring due to the chosen assignment whereas for the LAP we minimize

    isolated location-oriented costs.

    So called Activity Relationship Charts are useful graphical means of representing the

    desirability of locating pairs of machines/operations near to each other. The following letter

    codes have been suggested in literature for determining a closeness rating:8

    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.

    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 wedding department near one that uses flammable liquids would

    be an example of this category.7

    Example8: 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 burgers2. Cooking fries3. Packing and storing burgers4. Drink dispensers5. Counter servers6. Drive-up server

    8 Nahmias, S.: Production and Operations Analysis, 4th ed., McGraw-Hill, 2000, Chapter 10

  • 7/28/2019 Layout Skriptum Extended

    19/37

    Hartl, Preusser Layout and Design 19

    Produktion und Logistik

    The burgers are cooked on a large grill, and the fries are deep fried in hot oil. For safety

    reasons the company requires that these cooking areas not be located near each other. All

    hamburgers are individually wrapped after cooking and stored near the counter. The service

    counter can accommodate six servers, and the site has an area reserved for a drive-up window.

    An activity relationship chart for this facility appears in the following. In the chart, each pair ofactivities is given one of the letter designations A, E, I, O, U, or X. Once a final layout is

    determined, the proximity of the various departments can be compared to the closeness ratings

    in the chart. Figure 2-2 illustrates the activity relationship chart for Met me Inc .8

    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.

  • 7/28/2019 Layout Skriptum Extended

    20/37

    Hartl, Preusser Layout and Design 20

    Produktion und Logistik

    2.2.1. QAP: Mathematical formulation

    For the model formulation we need both distances between the locations and material flow

    betweenorganizational entities (OE):

    n organizational entities (OE): all of them are of same size and can therefore be interchangedwith each other.

    n locations: each can be provided with exactly one OE.

    thi ... intensity of material flow from OE h to OE i

    djk...distance between locationj and location k(e.g. shortest distance of central points);distances are not necessarily symmetric. Transportation costs are proportional to amount

    transported andto distance.

    If OE h is allocated to locationj and OE i to location kthe transportation costs per unit from OEh to OE i are defined by djk. Similar to the LAP we define

    binary decision variable

    =otherwise0

    locationtoassignedisOEif1 jhxhj

    Transportation costs per unit from OE h to OE i are = =

    n

    j

    n

    kikhjjk xxd

    1 1

    .

    The objective function minimizes total transportation costs between all OE:

    Figure 2-1: Activity relationship chart

  • 7/28/2019 Layout Skriptum Extended

    21/37

    Hartl, Preusser Layout and Design 21

    Produktion und Logistik

    min1 1 1 1

    = = = =

    n

    h

    n

    i

    n

    j

    n

    kikhjjkhi xxdt

    where we refer to the following constraints (similar to the LAP):

    11

    ==

    n

    jhjx for h = 1, ... , n ... each OE h on exactly 1 location j

    11

    ==

    n

    hhjx forj = 1, ... , n ... each location j gets exactly 1 OE h

    hjx = 0 or 1 ... binary decision variable

    While all constraints are still linear we now face a non-linear objective function. Due to the

    combination of integer property and non-linearity finding optimal solutions for larger problems isalmost impossible (cf. Appendix A). Thus, heuristic methods are applied in most cases. As usual

    we distinguish between starting heuristics and improvement methods or a combination of both

    of them.

    Example: Calculation of costs of 3 OE (1 ,2 ,3) and 3 locations (A, B, C)

    A

    B C

    Distances between locations djk

    =

    013

    101

    210

    C

    B

    A

    D

    CBA

    Intensity of material flow thi

    =

    013

    202

    110

    3

    2

    1

    321

    T

    One possible solution would be 1 A, 2 B and 3 C, i.e. Ax1 = 1, Bx2 = 1, Cx3 = 1 and all

    other thj = 0. All constraints are fulfilled.

    Total transportation cost: 0*0 + 1*1 + 2*1 + 1*2 + 0*0 + 1*2 + 3*3 + 1*1 + 0*0 = 17

    Obviously, this solution is not optimal since OE 1 and 3 (which have the highest intensity of

    material flow) are assigned to the locations with the highest distance between them (A and C).

    A better solution would for example be 1 C, 2 A and 3 B, i.e. Cx1 = 1, Ax2 = 1, Bx3 = 1.

    Total transportation cost: 0*0 + 3*1 + 1*1 + 2*2 + 0*0 + 2*1 + 1*3 + 1*1 + 0*0 = 14

    2A

    3B 1C

    Distances

    =

    011

    102

    130

    B

    A

    C

    D

    BAC

    Intensity of material flow

    =

    013

    202

    110

    3

    2

    1

    321

    T

  • 7/28/2019 Layout Skriptum Extended

    22/37

    Hartl, Preusser Layout and Design 22

    Produktion und Logistik

    2.2.2. Starting heuristics

    Some 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 followingpriorities:

    Selection of (non-assigned) OE

    A1. those having the maximum sum of material flow to all (other) OE

    A2. a) those having the maximum material flow to the last-assigned OE

    b) those having the maximum material flow to an assigned OE

    A3. those having the maximum material flow to all assigned OE (core)

    A4. random choice

    Selection of (non-assigned) locations

    B1. those having the minimum total distance to all other locations

    B2. those being neighbouring to the last-chosen location

    B3. a) those leading to the minimum sum of transportation cost to the core

    b) like a) but furthermore we try to exchange the location with neigboured 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: By combining the simples rules A1 and B1 we have to arrange all OE referring todecreasing sum of material flow and all locations referring to increasing sum of distances to all

    other OE/locations (i.e. the last columns in the following tables):

    OE 1 2 3 4 5 6 7 8 9 St. A B C D E F G H I

    1 - - - - 3 - - - - A - 1 2 1 2 3 2 3 4

    2 - 3 1 2 - 4 - - B - 1 2 1 2 3 2 3

    3 - 3 5 2 - 3 4 C - 3 2 1 4 3 2

    4 - - - 1 - - D - 1 2 1 2 3

    5 - 2 2 1 - E - 1 2 1 2

    6 - - - - F - 3 2 1

    7 - - - G - 1 2

    8 - - H - 1

    9 - I -

  • 7/28/2019 Layout Skriptum Extended

    23/37

    Hartl, Preusser Layout and Design 23

    Produktion und Logistik

    This leads to the following sequence of OE and locations: 3, 5, 2, 7, 4, 6, 8, 9, 1 ; E, B, D, F, H,

    A, C, G, I.

    We obtain the following assignment of OE to locations:

    OE 1 2 3 4 5 6 7 8 9

    St. I D E H B A F C G

    OE 1 2 3 4 5 6 7 8 9 Calculation of costs:

    1 - - - - 33 - - - -

    2 - 31 12 22 - 42 - - 1 and 5 are assigned to I and B with

    3 - 31 51 22 - 32 42 material flow of 3 and

    4 - - - 12 - - 3 (distance 1-5) 3 (flow I-B)

    5 - 21 22 11 - and so on

    6 - - - -

    7 - - - Total cost = 61

    8 - -

    9 -

    In case of random choice (rules A4 and/or B4) one has the possibility to generate a set of

    different solutions and to choose the best one out of it.

    2.2.3. Improvement methods

    We basically try to improve solutions (i.e. reduce costs) by exchanging OE-pairs (see also the

    introductive example above). In case of acceptable computational times one can also try toexchange OE-triples. Even in case of pair wise exchanges we have different possibilities:

    Selection of potential pairwise exchanges:

    C1. all n(n - 1)/2 pairs

    C2. a subset of pairs

    C3. random choice

    Selection of pairwise exchanges that are finally performed:

    D1. that pair whose exchange of locations leads to the highest cost reduction. (best pair)

    D2. the first pair whose exchange of locations leads to a cost reduction (first pair)

  • 7/28/2019 Layout Skriptum Extended

    24/37

    Hartl, Preusser Layout and Design 24

    Produktion und Logistik

    A combination of C1 and D1 increases solution quality but also computational time. A common

    method is to start with C2 and skip to C1 as soon as the solution is reasonably good. (A

    combination of C1 and D2 is equivalent to the 2-opt method which we use to solve TSP).

    A well-known (heuristic) method is CRAFT (computerized relative allocation of facilitiestechniques) which equals (in case of OE with similar place requirements) a combination of C1

    and D1 (this method will be introduced later in this chapter in the context of OE with unequal

    place requirements).

    In case of random choice (C3 and D2) we quite often find good results. Especially the fact that

    sometimes the best exchange of all exchanges which have been checked leads to an increase of

    costs is no disadvantage, because it 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.

    2.2.4. Umlaufmethode

    Umlaufmethode is one of the numerous heuristics which combine the idea of starting heuristics

    and imporvement methods. This method consists of the following components:

    Initialization (i = 1):

    Those OE having the maximum sum of material flow [A1] is assigned to the centre of locations

    (i.e. the location having the minimum sum of distances to all other locations [B1]).

    Iteration i (i = 2, ... ,n): assign OE i

    Part 1: (Selection of OE and of free location):

    select those OE with the maximum sum of material flow to all OE assigned to the core [A3]

    assign the selected OE to a free location so that the sum of transportation costs to the core(within the core) is minimized [B3a]

    Part 2: (Improvement step in iteration i = 4):

    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 conducted and we start again with Part 2 [D2].The method ends with the finalization of iteration i = n having assigned all OE.

    Example, at first without improvement step (only Part 1):

    Initialization (i = 1): A B C

    E is the centre D E 3 F

    We assign OE 3 to the centre (E) G H I

  • 7/28/2019 Layout Skriptum Extended

    25/37

    Hartl, Preusser Layout and Design 25

    Produktion und Logistik

    Sequence of assignments:

    i = 1 2 3 4 5 6 7 8

    OE 3

    1 0

    2 3 i = 3: 2 has the max. mat.fl. to the core (3, 5)

    3 i = 1: at first we assign 3

    4 3 i = 5

    5 5 i = 2: 5 has the max. mat.fl. to 3

    6 2 i = 6

    7 0 i = 4

    8 3 i = 7

    9 4 i = 8

    Iteration i = 2 (Part 1): the maximum material flow to the core (3) is from OE 5.

    Distances dBE= dDE= dFE= dHE= 1 is equally minimal we select D

    In step i = 2 we assign D-5.

    Iteration i = 3 (Part 1): the maximum material flow to the core (3, 5) is from OE 2.

    Find a location X so that dXEt23 + dXDt25 = dXE3 + dXD2 is minimal (only A, B, G or H)

    X = A dAE3 + dAD2 = 23 + 12 = 8

    X = B dBE3 + dBD2 = 13 + 22 = 7

    X = F dFE3 + dFD2 = 13 + 22 = 7

    X = G dGE3 + dGD2 = 23 + 12 = 8

    X = H dHE3 + dHD2 = 13 + 22 = 7 B, F or H B is chosen

    In Step i = 3 we assign B-2.

  • 7/28/2019 Layout Skriptum Extended

    26/37

    Hartl, Preusser Layout and Design 26

    Produktion und Logistik

    Iteration i = 4 (Part 1) the maximum material flow to the core (2, 3, 5) is from OE 7.

    Find a locationX so that dXEt73 + dXDt75 + dXBt72 = dXE0 + dXD2 + dXB4 is minimal

    in the map we see that A is the best choice

    in iteration i = 4 we tentatively assign A-7.

    (Part 2) try to exchange A with E, B or D and calculate the costs of these assignments:

    From Part 1: E-3, D-5, B-2, A-7 Cost = 15+13+20+22+12+14 = 18

    E-3, D-5, A-2, B-7 Cost = 15+23+10+12+22+14 = 21

    E-3, A-5, B-2, D-7 Cost = 25+13+10+12+12+24 = 25

    A-3, D-5, B-2, E-7 Cost = 15+13+20+22+12+14 = 18

    An exchange of A and E is possible but does not lead to a cost reduction. Thus, we do not

    conduct this exchange but take the solution determined in Part 1.

    After 8 iterations (without part 2) we end up with the solution from above with total costs = 54.

    Inclusion of part 2 leads to an exchange of the last-assigned OE 9 with OE 4 in iteration 8. By

    this exchange we increase total costs to 51.

    While a manual calculation of larger problems is obviously quite time consuming an

    implementation and therefore computerized calculation is relatively simple.

    2.2.5. Different space requirements

    The solution methods discussed above are also feasible for problems considering OE with

    different space requirements (OE are assumed to be either rectangularly shaped or composed ofrectangular pieces). But here an exchange of OE may have an influence on the shapes and

    locations of other (even not-exchanged) OE. Furthermore, one has to define the way of

    measuring distances between locations, since the distance between two OE may depend on their

    shapes. The most common distances in this context probably are:

    Orthogonal distance between OE-boundaries: the (shortest) distance between 2 OE isdetermined by the orthogonal distance between the closest points of them. Thus, OE

    having at least 1 vertex in common have a distance of 0.

    Rectilinear distance of centre points: the distance between 2 OE is assumed to be therectilinear distance between centroid locations. This implies the assumption that OE are

    located at their centroids. The centroid is another term for the coordinates of the centre of

    gravity or balance point. The accuracy of assuming that an OE is located at its centroid

    depends upon the shape of the OE. The assumption is most accurate when the shape of

    the OE is square or rectangular, but is less accurate for oddly shaped OE.

    Rectilinear distances between centre points are, e.g., used for the well known CRAFT algorithm,

    which we are going to discuss in the following.

  • 7/28/2019 Layout Skriptum Extended

    27/37

    Hartl, Preusser Layout and Design 27

    Produktion und Logistik

    2.2.5.1. CRAFT Algorithm910

    CRAFT (computerized relative allocation of facilities techniques) was one of the first computer-

    aided layout routines developed. It is an improvement method which means that it requires an

    initial layout to be used as a starting solution.

    Again we try to improve the given solution by moving around OE. The additional challenge now

    is that the shapes of OE are not fixed. Thus, the problem simply has too many degrees of

    freedom for us to devise a good method for modifying the starting solution. All the common

    improvement methods are based on limiting the kinds of changes that are permitted. This has

    already been addressed in the context of problems with similar space requirements.

    We know that a pair of OE that can be exchanged without a direct influence on the shapes or

    locations of all remaining OE has to satisfy one of the following conditions:

    1. the OE have the same space requirement,

    2. the OE share a common boundary (having a common boundary means that the OE shareat least 1 side boundary of their rectangles). E.g. OE 2 and OE 5 in Figure 2-2 share 1

    side boundary.

    In Figure 2-2 you see that an exchange of OE 2 and OE 5 would be possible without affecting the

    shape or the location of the remaining OE. In this case it does not matter that OE 2 and OE 5

    have different space requirements because the total area used for them stays the same. Clearly, an

    exchange of same sized OE (no matter if they are neighboured or not) is always possible. On the

    other hand exchanging, e.g., OE 1 and OE 3, is not possible without changing the shape or the

    location of for example OE 2.

    1 4

    2 5

    3

    Figure 2-2: Different sized OE

    9Francis, R., McGinnis, L., White, J., Facility Layout and Location: An Analytical Approach, Prentice Hall, 1992

    10 Nahmias, S.: Production and Operations Analysis, 4th ed., McGraw-Hill, 2000, Chapter 10

  • 7/28/2019 Layout Skriptum Extended

    28/37

    Hartl, Preusser Layout and Design 28

    Produktion und Logistik

    The CRAFT algorithm, which is probably the earliest widely known improvement algorithm,

    uses an estimate of the transportation cost that is based on the rectilinear distance between the

    centroid locations. If, e.g., OE 2 and 5 are considered for an exchange, the new costs is

    estimated by assuming that the new centroid of OE 2 is the old centroid of OE 5 and vice versa.

    This method of estimating transportation costs for the new layout is exact if OE have the same

    space requirement, but can be in error if the requirements are different. In this case we revise theestimated transportation costs by developing a distance chart for the new layout and calculating

    the real total transportation costs. This is done whenever an exchange has been identified to be

    the most useful (based on the estimation of costs) in an iteration. The algorithm continues until

    no further reductions in the predicted transportation costs can be achieved.

    So we summarize the steps to be followed according to CRAFT:

    1. Estimate total transportation costs considering all pairwise exchanges of OE that share atleast 1 border or that are of same size (i.e. equal number of rectangles).

    2. 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.

    3. Revise the estimated distance chart and calculate the new total costs. Go back to step 1.

    You see that by applying this procedure the best exchange could be passed over, due to

    estimation errors. This generally will be the case for any improvement algorithm that does not

    actually evaluate every exchange possible.

    Example11

    : A local manufacturing firm has recently completed construction of a new plant to

    house 4 departments: A, B, C, and D. The plant is 100m2

    by 50m2. The plant manager has chosen

    an initial layout of the 4 departments. This layout is given in Figure 2-3. From the figure we see

    that department A requires 1800 m2, department B 1200m

    2, department C 800m

    2, and

    department D 1200m2.

    11 Nahmias, S.: Production and Operations Analysis, 4th ed., McGraw-Hill, 2000, Chapter 10

  • 7/28/2019 Layout Skriptum Extended

    29/37

    Hartl, Preusser Layout and Design 29

    Produktion und Logistik

    The following table contains the material flows between all departments.

    Material Flow A B C DA 0 2 7 4

    B 3 0 5 5

    C 6 7 0 3

    D 8 2 3 0

    The distance between 2 departments is to be assumed as the rectilinear distance between the

    centroid locations of the corresponding departments. Try to improve the initial layout by

    applying the CRAFT algorithm (pairwise exchanges).

    1. Determination of distances referring to the initial layout: The centroid of a rectangular Ris defined by 2 points .,yx

    The rectilinear distance between 2 centroid locations is

    d12 =

    20 30 40 50 60 70 80 90 100

    20

    30

    40

    50

    A (1800 m2) B (1200 m2)

    C (800 m2) D (1200 m2)

    10

    Figure 2-3: Initial plant layout for example problem

    2

    )( 21 xxx+

    =2

    )( 21 yyy+

    = +

    2121 yyxx +

  • 7/28/2019 Layout Skriptum Extended

    30/37

    Hartl, Preusser Layout and Design 30

    Produktion und Logistik

    For the initial layout we obtain the following centroid locations

    Centroid

    x y

    A 30 35

    B 80 35

    C 20 10D 70 10

    and the following distances

    2. Determination of current total costs:

    We multiply the distances with the material flows -> Total transportation cost: 3050

    3. Now we list all possible pairwise exchanges:

    A-B -> possible

    A-C -> possible

    A-D -> possible

    B-D -> possible

    C-D > possible

    All other exchanges are not possible, because the departments are neither neighboured

    nor of same size.

    4. Estimate total costs for each valid exchange (assuming that the centroid locations stay thesame):

    A-B: estimated transportation cost = 2950

    A-C: estimated transportation cost = 2715

    A-D: estimated transportation cost = 3185

    B-D: estimated transportation cost = 2735

    C-D: estimated transportation cost = 2830

    -> Exchange A-C is supposed to be the best one

    5. Perform the selected exchange and calculate the new total costs.

    Distance A B C D

    A 0 50 35 65

    B 50 0 85 35

    C 35 85 0 50

    D 65 35 50 0

  • 7/28/2019 Layout Skriptum Extended

    31/37

    Hartl, Preusser Layout and Design 31

    Produktion und Logistik

    If a plane R consists of a collection of rectangles R1, R2,, Rk the respective boundaries

    are )],(,,[( 2121 iiii yyxx for .1 ki

    In order to find yx, (which describe the centroid location), we first have to obtain the

    moments of R:

    Let A(R) be the area of R. Then the centroid of R is given by

    The new centroids are

    Centroid

    x y

    A 30 21,667

    B 80 35

    C 20 40

    D 70 10

    20 30 40 50 60 70 80 90 100

    20

    30

    40

    50

    A (A = 1800

    m2)

    B (A = 1200 m2)C (A = 800 m2)

    D (A = 1200 m2)

    10

    =

    =k

    i

    iiii

    x yyxx

    M1

    12

    2

    1

    2

    2 )(2

    =

    =k

    i

    iiii

    y xxyy

    M1

    12

    2

    1

    2

    2 )(2

    )(

    )(

    RA

    My

    RA

    M

    x

    y

    x

    =

    =

  • 7/28/2019 Layout Skriptum Extended

    32/37

    Hartl, Preusser Layout and Design 32

    Produktion und Logistik

    leading to the following new distances

    Distance A B C D

    A 0 63,333 28,333 51,667

    B 63,333 0 65 35

    C 28,333 65 0 80

    D 51,667 35 80 0

    and total costs of 2809 (we see that we do not achieve the estimated costs for this scenario

    (2715), but compared to the initial layouts total cost we have a cost reduction anyway).

    6. Now we list all possible pairwise exchanges:

    A-B -> possible

    A-D -> possible

    B-D -> possible

    All other exchanges are not possible, because the departments are neither neighboured

    nor of same size.

    7. Estimate total costs for each valid exchange (assuming that the centroid locations stay thesame):

    A-B: estimated transportation cost = 2763

    A-D: estimated transportation cost = 3228

    B-D: estimated transportation cost = 2982

    -> Exchange A-C is supposed to be the best one

    8. Perform the selected exchange and calculate the new total costs.

    20 30 40 50 60 70 80 90 100

    20

    30

    40

    50

    B (A = 1200

    m2)

    A (A = 1800 m2)C (A = 800 m2)

    D (A = 1200 m2)

    10

  • 7/28/2019 Layout Skriptum Extended

    33/37

    Hartl, Preusser Layout and Design 33

    Produktion und Logistik

    The new centroids are

    Centroid

    x y

    A 70 35

    B 20 15

    C 20 40D 70 10

    leading to the following distances

    Distance A B C D

    A 0 70 55 25

    B 70 0 25 55

    C 55 25 0 80

    D 25 55 80 0

    and total costs of2530 (this time we had underestimated the cost reduction).

    9. Now we list all possible pairwise exchanges:

    A-C -> possible

    A-D -> possible

    B-C -> possible

    B-D -> possible

    All other exchanges are not possible, because the departments are neither neighboured

    nor of same size.

    10.Estimate total costs for each valid exchange (assuming that the centroid locations stay thesame):

    A-C: estimated transportation cost = 3175

    A-D: estimated transportation cost = 2735

    B-C: estimated transportation cost = 2675

    B-D: estimated transportation cost = 3325

    -> no further cost reduction is expected! We stop with total costs of2530!

  • 7/28/2019 Layout Skriptum Extended

    34/37

    Hartl, Preusser Layout and Design 34

    Produktion und Logistik

    1. Appendix A: Methodological Basics

    Complexity

    Almost all optimization problems occuring in production and logistics can be solved either

    exactly or by applying heuristic methods. The selection of a solution method may depend on:

    Software availability

    Cost-benefit

    Problem complexity

    Even if we know adequate (time consuming) exact methods we are going to apply heuristicmethods if we do not have adequate software available or costs (installation, personnel

    instruction, etc.) exceed the expected benefit.

    On the other hand we know a number of combinatorial problems, which are classified to be NP-

    hard, which indicates the assumption that the computational effort for solving the problem will

    not increase polynomial with the problem dimension. In case of real-world applications with the

    according problem size we face unacceptable computational times, even for high performance

    IT-systems, regularly.

    LP-Problems (average case) are to be solved with polynomial effort, since the number of

    simplex-iterations increases linearly with the number of constraints (and each iteration causesquadratic effort).

    LP-Problems with integer variables usually are solved by applying a Branch and Bound (B&B)

    method, where a common LP-model is solved in each iteration. Here the number of iterations

    increases exponentially with the number of integer variables. Thus, these problems cannot be

    solved with polynomial effort.

    For some problem classes (e.g. transportation problems, (linear) assignment) due to their

    problem structure integer/binary property of the decision variables is guaranteed automatically

    leading to a low problem complexity.

    Some problems with integer/binary variables can (by using special exact methods) be solved with

    polynomial effort, anyway.

    Referring to heuristic methods we usually distinguish between:

    Starting heuristics (quick generation of a feasible solution)

    Improvement heuristics (start with a feasible solution and try to find a better one)

    Combinations of starting and improvement heuristics

  • 7/28/2019 Layout Skriptum Extended

    35/37

    Hartl, Preusser Layout and Design 35

    Produktion und Logistik

    We use general purpose-heuristics or metaheuristics (e.g. Simulated Annealing, Tabu Search

    or Genetic Algortihms) in order to leave local optima during improvement steps.

    Costs and distances

    The majority of problems being dealt with during this course will be solved based on costs and/or

    distances cij. In most cases costs are determined based on given technical parameters (machine

    setup,..) or distances (e.g. distance between object i andj). In the following we are going to

    introduce three common distances:

    Euclidean distance: ( )d(x,y) = x - yi ii=1

    n2

    (Straight line distance between two pointsx

    andy) x

    y

    x2

    x11

    1

    Manhattan distance:

    d(x,y) = x - yi ii=1

    n

    (The distance between two points measured

    along axes at right angle)

    y

    x

    x2

    x11

    1

    Maximum distance: d(x,y) = max x - yi=1,...,n

    i i

    (Drilling plates, movement of cranes,)

    xy1

    y2y3

    x2

    x11

    1

    In most cases we know the distance between every couple of adjacent nodes (locations,

    customers,). For determining the distance between any two nodes within the network, we have

    to solve a shortest path problem.

    Basics on Graph Theory

    Agraph consists of points known asnodes (vertices) which are connected with each other using

    lines (edges, arcs).

    Graph:O

    A

    C

    B

    E

    D

    T

    4

    2

    52

    7

    45

    7

    13

    4

    1

  • 7/28/2019 Layout Skriptum Extended

    36/37

    Hartl, Preusser Layout and Design 36

    Produktion und Logistik

    Achain between nodesIandj is a sequence of edges connecting these two nodes. Apath is a

    chain where the direction is clear (oriented); oriented edges are usually calledarrows (or arcs).

    Chain from A to D:

    Acycle is a chain that connects a node with itself, while no edge is traversed more than once.

    Cycle:

    A graph isconnectedif for each pair of nodes there exists a path connecting these two.

    A tree is a connected graph without cycles.

    Tree:

    One of the theorems in graph theory indicates that a graph with n nodes is connected if it

    contains (n-1) nodes, but no cycles.

    No tree (due to cycle OAB):

    A

    B

    DZyklus

    O

    A

    C

    B

    E

    D

    T5

    2 45

    11

    Baum

    O

    A

    C

    B

    E

    D

    T

    kein Baum wegen Zyklus OAB

    O

    A

    C

    B

    E

    D

    T

    kein Baum, da nicht verbunden

  • 7/28/2019 Layout Skriptum Extended

    37/37

    Hartl, Preusser Layout and Design 37

    No tree (because not connected):

    The edge of graph isdirectedor is anarrow if an orientation is given (one way street). Adirected

    graph contains only directed arcs. An undirectedgraph contains only undirected edges. Amixed

    graph contains both directed and undirected edges.