EOQ: Economic Order Quantity model

Description Usage Arguments Details Value References See Also Examples

View source: R/EOQ.R

Description

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

Usage

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

Arguments

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)

Details

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.

Value

A list containing:

T

Time between orders (cycle length)

S

Maximum backorders in units. Displayed when b > 0

TVC

Total variable cost.

References

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

See Also

EPQ, newsboy, WW

Examples

 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)

SCperf documentation built on March 18, 2018, 2:09 p.m.