33
Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering Massachusetts Institute of Technology Advisor: Dr. Stanley B. Gershwin Ph.D. Committee Meeting (Spring 2010) April 27, 2010 c 2010 Chuan Shi : 1/79

Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Embed Size (px)

Citation preview

Page 1: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Efficient Buffer Design Algorithms for Production Line Profit Maximization

Chuan Shi

Department of Mechanical Engineering Massachusetts Institute of Technology

Advisor: Dr. Stanley B. Gershwin

Ph.D. Committee Meeting (Spring 2010)

April 27, 2010

c⃝2010 Chuan Shi — : 1/79

Page 2: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Contents

1 Problem Problem Motivation and research goals Our focus: choosing buffers Prior work review Research Topics

2 Topic one: Line optimization Constrained and unconstrained problems Algorithm derivation Proofs of the algorithm by KKT conditions Numerical results

3 Topic two: Line opt. with time window constraint Problem and motivation Five cases Algorithm derivation Numerical results

4 Research in process and Research extensions Research in process Research extensions

c⃝2010 Chuan Shi — : 2/79

Page 3: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Problem

Manufacturing Systems A manufacturing system is a set of machines, transportation elements, computers, storage buffers, and other items that are used together for manufacturing.

c⃝2010 Chuan Shi — Problem : Problem 3/79

Page 4: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

⋅ ⋅ ⋅ ⋅ ⋅ ⋅

Problem

Production Lines A production line, is organized with machines or groups of machines (�1, ,��) connected in series and separated by buffers (�1, , ��−1).

B1 B2 B3 B4 B5

1 N2 N3 N4 N5N

M1 M2 3 M4 M5 M6M

Inventory space

1 n2 n3 n4 n5Average inventory n

c⃝2010 Chuan Shi — Problem : Problem 4/79

Page 5: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Why study production lines ?

Economic importance Production lines are used in high volume manufacturing, particularly au-tomobile production, in which they make engine blocks, cylinders, con-necting rods, etc. Their capital costs range from hundreds of thousands dollars to tens of millions of dollars.

The simplest form of an important phenomenon Manufacturing stages interfere with each other and buffers decouple them.

c⃝2010 Chuan Shi — Problem : Motivation and research goals 5/79

Page 6: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Research goals

Make factories more efficient and more profitable, including micro-and nano-fabrication factories.

Develop tools for rapid design of production lines. This is very im-portant for products with short life cycles.

c⃝2010 Chuan Shi — Problem : Motivation and research goals 6/79

Page 7: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Production line design

Design

products

Design

processes

Choose

machines

Choose

buffers

Are cost andperformancesatisfactory?

Yes

No

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 7/79

Page 8: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

⋅ ⋅ ⋅

Our focus: choosing buffers

Problem description and Assumptions

Maximize profit for production lines subject to a production rate target constraint. Process and machines have already been chosen (3 models).

The deterministic processing time model of Gershwin (1987), (1994). The deterministic processing time model of Tolio, Matta, and Gersh-win (2002). The continuous production line model of Levantesi, Matta, and Tolio (2003).

Decision variables: sizes of in-process inventory (buffer) spaces, i.e., (�1, , ��−1) ≡ N.

Cost is due to inventory space and inventory.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 8/79

Page 9: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Our focus: choosing buffers

Problem description and Assumptions The deterministic processing time model of Gershwin (1987).

Time required to process a part is the same for all machines and is taken as the time unit. Machine � is parameterized by the probability of failure, �� = 1/�� � ��, and the probability of repair, �� = 1/�� � ��, in each time unit.

The deterministic processing time model of Tolio, Matta, and Gersh-win (2002).

Processing times of all machines are equal, deterministic, and con-stant. It allows each machine to have multiple failure modes. Each failure is characterized by a geometrical distribution.

The continuous production line model of Levantesi, Matta, and Tolio (2003).

Machines can have deterministic, yet different, processing speeds. It allows each machine to have multiple failure modes. Each failure is characterized by an exponential distribution.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 9/79

Page 10: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Benefits and costs of buffers

Necessity

Machines are not perfectly reliable and predictable.

The unreliability has the potential for disrupting the operations of adjacent machines or even machines further away.

Buffers decouple machines, and mitigate the effect of a failure of one of the machines on the operation of others.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 10/79

Page 11: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Benefits and costs of buffers

Necessity

Machines are not perfectly reliable and predictable.

The unreliability has the potential for disrupting the operations of adjacent machines or even machines further away.

Buffers decouple machines, and mitigate the effect of a failure of one of the machines on the operation of others.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 10/79

Page 12: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Benefits and costs of buffers

Necessity

Machines are not perfectly reliable and predictable.

The unreliability has the potential for disrupting the operations of adjacent machines or even machines further away.

Buffers decouple machines, and mitigate the effect of a failure of one of the machines on the operation of others.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 10/79

Page 13: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Benefits and costs of buffers

Undesirable consequence of buffers: Inventory

Inventory costs money to create or store.

The average lead time is proportional to the average amount of inventory.

Inventory in a factory is vulnerable to damage.

The space and equipment needed for inventory costs money.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 11/79

Page 14: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Benefits and costs of buffers

Undesirable consequence of buffers: Inventory

Inventory costs money to create or store.

The average lead time is proportional to the average amount of inventory.

Inventory in a factory is vulnerable to damage.

The space and equipment needed for inventory costs money.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 11/79

Page 15: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Benefits and costs of buffers

Undesirable consequence of buffers: Inventory

Inventory costs money to create or store.

The average lead time is proportional to the average amount of inventory.

Inventory in a factory is vulnerable to damage.

The space and equipment needed for inventory costs money.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 11/79

Page 16: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Benefits and costs of buffers

Undesirable consequence of buffers: Inventory

Inventory costs money to create or store.

The average lead time is proportional to the average amount of inventory.

Inventory in a factory is vulnerable to damage.

The space and equipment needed for inventory costs money.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 11/79

Page 17: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

⋅ ⋅ ⋅ ⋅ ⋅ ⋅

Difficulties

Evaluation

Calculate production rate and average inventory as a function of buffer sizes (and machine reliability).

����� ����� ����� ��� ���� �����

state = (�1, �2, , ��, �1, �2, , ��−1) where �� = state of �� = operation or repair

�� = number of parts in ��, 0 ≤ �� ≤ ��

Exact numerical solution is impractical due to large state space.

There is no practical analytical solution to this problem for � > 2. For 2-machine lines, there are analytical solutions.

Good approximation is available: decomposition.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 12/79

Page 18: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

⋅ ⋅ ⋅ ⋅ ⋅ ⋅

Difficulties

Evaluation

Calculate production rate and average inventory as a function of buffer sizes (and machine reliability).

����� ����� ����� ��� ���� �����

state = (�1, �2, , ��, �1, �2, , ��−1) where �� = state of �� = operation or repair

�� = number of parts in ��, 0 ≤ �� ≤ ��

Exact numerical solution is impractical due to large state space.

There is no practical analytical solution to this problem for � > 2. For 2-machine lines, there are analytical solutions.

Good approximation is available: decomposition.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 12/79

Page 19: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

⋅ ⋅ ⋅ ⋅ ⋅ ⋅

Difficulties

Evaluation

Calculate production rate and average inventory as a function of buffer sizes (and machine reliability).

����� ����� ����� ��� ���� �����

state = (�1, �2, , ��, �1, �2, , ��−1) where �� = state of �� = operation or repair

�� = number of parts in ��, 0 ≤ �� ≤ ��

Exact numerical solution is impractical due to large state space.

There is no practical analytical solution to this problem for � > 2. For 2-machine lines, there are analytical solutions.

Good approximation is available: decomposition.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 12/79

Page 20: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

⋅ ⋅ ⋅ ⋅ ⋅ ⋅

Difficulties

Evaluation

Calculate production rate and average inventory as a function of buffer sizes (and machine reliability).

����� ����� ����� ��� ���� �����

state = (�1, �2, , ��, �1, �2, , ��−1) where �� = state of �� = operation or repair

�� = number of parts in ��, 0 ≤ �� ≤ ��

Exact numerical solution is impractical due to large state space.

There is no practical analytical solution to this problem for � > 2. For 2-machine lines, there are analytical solutions.

Good approximation is available: decomposition.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 12/79

Page 21: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Difficulties

Decomposition

Mi

M (i)u

M (i)d

Line L(i)

Mi−2

Bi−2

Mi−1

Bi−1

Bi

Mi+1

Bi+1

Mi+2

Mi+3i+2

B

★ Reprint with permission from Dr. Gershwin.

c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 13/79

Page 22: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Difficulties

Optimization1

Determine the optimal set of buffer sizes.

The cost function is nonlinear.

The constraints can be nonlinear.

1This is my contribution. c⃝2010 Chuan Shi — Problem : Our focus: choosing buffers 14/79

Page 23: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Prior work review

There are many studies focusing on maximizing the production rate but few studies concentrating on maximizing the profit.

Substantial research has been conducted on production line evaluation and opti-mization (Dallery and Gershwin 1992).

Buzacott derived the analytic formula for the production rate for two-machine, one-buffer lines in a deterministic processing time model (Buzacott 1967).

The invention of decomposition methods with unreliable machines and finite buffers (Gershwin 1987) enabled the numerical evaluation of the production rate of lines having more than two machines.

Diamantidis and Papadopoulos (2004) also presented a dynamic programming algorithm for optimizing buffer allocation based on the aggregation method given by Lim, Meerkov, and Top (1990). But they did not attempt to maximize the profits of lines.

For other line optimization work, see Chan and Ng (2002), Smith and Cruz (2005), Bautista and Pereira (2007), Jin et al. (2006), and Rajaram and Tian (2009).

c⃝2010 Chuan Shi — Problem : Prior work review 15/79

Page 24: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Prior work review

Evaluation: simulation methods

Slow (according to Spinellis and Papadopoulos 2000).

Statistical.

Optimization: combinatorial or integer programming meth-ods

Slow (according to Gershwin and Schor 2000).

Inaccurate (So 1997, Tempelmeier 2003).

Do not take advantage of special properties of the problem (Shi and Men 2003, Dolgui et al. 2002, Huang et al. 2002).

c⃝2010 Chuan Shi — Problem : Prior work review 16/79

Page 25: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Schor’s problem

Schor 1995, Gershwin and Schor 2000

Schor’s unconstrained profit maximization problem:

max N

�(N) = �� (N) − �−1∑

�=1

���� − �−1∑

�=1

�� ̄��(N)

s.t. �� ≥ �min, ∀� = 1, ⋅ ⋅ ⋅ , � − 1.

where � (N) = production rate, parts/time unit �̂ = required production rate, parts/time unit � = profit coefficient, $/part

�̄�(N) = average inventory of buffer �, � = 1, ⋅ ⋅ ⋅ , � − 1 �� = buffer cost coefficient, $/part/time unit �� = inventory cost coefficient, $/part/time unit

c⃝2010 Chuan Shi — Problem : Prior work review 17/79

Page 26: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Assumptions

Assumptions

� (N) is monotonic and concave.

M B M B M1 1 2 2 3

N N1 2

0 10 20 30 40 50 60 70 80 90 100 0 10

20 30

40 50

60 70

80 90

100

0.79 0.8 0.81 0.82 0.83 0.84 0.85 0.86 0.87 0.88 0.89 0.9

P(N)

N1

N2

P(N)

�� can be treated as continuous variables (Schor 1995, Gershwin and Schor 2000).

� (N) and �(N) can be treated as continuously differentiable func-tions (Schor 1995, Gershwin and Schor 2000).

The decomposition is a good approximation.

c⃝2010 Chuan Shi — Problem : Prior work review 18/79

Page 27: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Assumptions

Assumptions

� (N) is monotonic and concave.

M B M B M1 1 2 2 3

N N1 2

0 10 20 30 40 50 60 70 80 90 100 0 10

20 30

40 50

60 70

80 90

100

0.79 0.8 0.81 0.82 0.83 0.84 0.85 0.86 0.87 0.88 0.89 0.9

P(N)

N1

N2

P(N)

�� can be treated as continuous variables (Schor 1995, Gershwin and Schor 2000).

� (N) and �(N) can be treated as continuously differentiable func-tions (Schor 1995, Gershwin and Schor 2000).

The decomposition is a good approximation.

c⃝2010 Chuan Shi — Problem : Prior work review 18/79

Page 28: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Assumptions

Assumptions

� (N) is monotonic and concave.

M B M B M1 1 2 2 3

N N1 2

0 10 20 30 40 50 60 70 80 90 100 0 10

20 30

40 50

60 70

80 90

100

0.79 0.8 0.81 0.82 0.83 0.84 0.85 0.86 0.87 0.88 0.89 0.9

P(N)

N1

N2

P(N)

�� can be treated as continuous variables (Schor 1995, Gershwin and Schor 2000).

� (N) and �(N) can be treated as continuously differentiable func-tions (Schor 1995, Gershwin and Schor 2000).

The decomposition is a good approximation.

c⃝2010 Chuan Shi — Problem : Prior work review 18/79

Page 29: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Assumptions

Assumptions

� (N) is monotonic and concave.

M B M B M1 1 2 2 3

N N1 2

0 10 20 30 40 50 60 70 80 90 100 0 10

20 30

40 50

60 70

80 90

100

0.79 0.8 0.81 0.82 0.83 0.84 0.85 0.86 0.87 0.88 0.89 0.9

P(N)

N1

N2

P(N)

�� can be treated as continuous variables (Schor 1995, Gershwin and Schor 2000).

� (N) and �(N) can be treated as continuously differentiable func-tions (Schor 1995, Gershwin and Schor 2000).

The decomposition is a good approximation.

c⃝2010 Chuan Shi — Problem : Prior work review 18/79

Page 30: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

The Gradient Method

0 10 20 30 40 50 60 70 80 90 100 0 10

20 30

40 50

60 70

80 90

100

1040 1060 1080 1100 1120 1140 1160 1180 1200 1220

J(N)

N1

N2

J(N)

Figure 1: �(N) vs. �1 and �2

c⃝2010 Chuan Shi — Problem : Prior work review 19/79

Page 31: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

⋅ ⋅ ⋅

���

The Gradient Method

We calculate the gradient direction to move in (�1, , ��−1) space. A line search is then conducted in that direction until a maximum is encountered. This becomes the next guess. A new direction is chosen and the process continues until no further improvement can be achieved. There is no analytical expression to compute profits of lines having more than two machines. Consequently, to determine the search direction, we compute the gradient, g, according to a forward difference formula, which is

�� = �(�1, ⋅ ⋅ ⋅ , �� + ���, ⋅ ⋅ ⋅ , ��−1) − �(�1, ⋅ ⋅ ⋅ , ��, ⋅ ⋅ ⋅ , ��−1)

where �� is the gradient component of buffer ��, � is the profit of the line, and ��� is the increment of buffer ��.

c⃝2010 Chuan Shi — Problem : Prior work review 20/79

Page 32: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

Research topics

Topics that have been finished/are in process

Profit maximization for production lines with a production rate con-straint.

Profit maximization for production lines with both time window con-straint and production rate constraint.

Evaluation and profit maximization for lines with an arbitrary single loop structure.

Topics that might be considered in the future

Systems with quality control.

Systems with set-up cost for buffers.

etc.

c⃝2010 Chuan Shi — Problem : Research Topics 21/79

Page 33: Efficient Buffer Design Algorithms for Production Line ... · Efficient Buffer Design Algorithms for Production Line Profit Maximization Chuan Shi Department of Mechanical Engineering

For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

MIT OpenCourseWare http://ocw.mit.edu

2.852 Manufacturing Systems Analysis Spring 2010

For information about citing these materials or our Terms of Use,visit:http://ocw.mit.edu/terms.