Description Usage Arguments Details Value References See Also Examples

This function finds the optimal order policy in the classical Economic Order Quantity (EOQ) model and the EOQ model with planned shortages.

1 | ```
EOQ(d, k, h, b = 0)
``` |

`d` |
Demand per unit time. |

`k` |
Ordering or fixed cost per order. |

`h` |
Holding cost per unit of product. |

`b` |
Shortage penalty cost per unit (default:0) |

The EOQ model, also called Lot-Sizing model, considers that demand is uniform and deterministic. Lead time, the time between the placement of an order and its receipt, is equal to zero.

The optimal order policy in the classical EOQ model minimizes the total cost associated with the ordering
and holding costs while meeting all demand (without shortage). When shortages are allowed (*b>0*)
we have the EOQ model with backorders or planned shortages.

A list containing:

`T` |
Time between orders (cycle length) |

`S` |
Maximum backorders in units. Displayed when b > 0 |

`TVC` |
Total variable cost. |

- Hillier, F. and Lieberman, G. (2001). *Introduction to operational research*.
New York: McGraw-Hill, 7th.

EPQ, newsboy, WW

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ```
## Not run:
#Classical EOQ model
#Given demand d=8000 items per year; set up cost k=12000; and holding cost h=0.3
#per unit we find that the optimal solution is to order 25298 units every 3.2
#months with a total variable cost of $7589.5
## End(Not run)
EOQ(8000,12000,0.3)
## Not run:
#EOQ model with planned shortages
#Consider now that backorders are allowed with a backorder cost b=1.1 per
#unit and year. Then the optimal solution is to order 28540 units every 3.6 months.
#The total variable cost is $6727.3 and the maximum shortage is 6116 units.
## End(Not run)
EOQ(8000,12000,0.3,1.1)
``` |

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.