Description Usage Arguments Details Value Author(s) References See Also Examples

Implements the Economic Production Quantity (EPQ) model.

1 | ```
EPQ(d, p, k, h)
``` |

`d` |
demand rate, |

`p` |
production rate, |

`k` |
ordering or setup cost, |

`h` |
holding cost. |

The EPQ model is an extension of the `EOQ`

model. It considers
finite production rate, that is, the inventory is replenished
gradually as the order is produced. Note that this assumption
requires the production rate to be greater than the demand rate (p>d)
otherwise there would be no inventory at any time.

The model considers that a new order is produced incrementally when the
inventory reaches zero. During the time that production run,
*t=Q/p*, inventory is accumulated at rate *p-d*, which
implies that when the production of the batch Q is finished the
inventory will reach its maximum level I.

`EPQ()`

returns a list containing:

`Q` |
batch quantity, |

`t` |
time required to produce the batch quantity, |

`T` |
time between orders (cycle length or time), |

`I` |
maximum inventory level, |

`TC` |
total cost. |

Marlene Silva Marchena marchenamarlene@gmail.com

Gallego, G. "IEOR4000: Production Management" (Lecture 2), Columbia (2004).

1 2 3 4 5 6 | ```
# Suppose k = 100, h = 5, d = 200, p = 1000. Then the production run at
# t=0.1, the optimal order interval is T = 0.5, the optimal order quantity
# is Q = 100, the maximum inventory level is I=80 and the total cost is
# TC = $400.
EPQ(d=200,p=1000,k=100,h=5)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.