This function obtains the optimal number of orders and the associated cost in the inventory transportation system.
Usage
STI(n = NA, a = NA, av = NA, d = NA, h = NA, m = NA)
Arguments
n
Agents in the inventory situation.
a
The fixed cost per order.
av
Vector. The transportations cost per order to each agent.
d
Vector. Deterministic demands per time unit to each agent.
h
Vector. Holding cost per time unit to each agent.
m
Vector. Number of orders to each agent (optional).
Value
This function calculates two vectors. The first one shows the optimal order for each agent. The second vector indicates the associated cost to these orders.