| STI | R Documentation | 
This function obtains the optimal orders and the associated cost when agents are cooperating in the inventory transportation system.
STI(n = NA, a = NA, av = NA, d = NA, h = NA, m = NA)
| 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). | 
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.
STI(n=3,a=200,av=c(300,300,900),d=c(90,80,20),h=c(0.06,0.06,0.1),m=NA)
#STI model
#$"Optimal order"
#[1] 1224.745 1154.701  663.325
#
#$"Order cost"
#[1] 73.48469 69.28203 66.33250
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.