Line rule

Share:

Description

Line rule for an inventory transportation system when coalition N is formed.

Usage

1
linerule(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

Allocation for each agent if N was formed.

Examples

1
2
3
linerule(n=3,a=200,av=c(300,300,900),d=c(90,80,20),h=c(0.06,0.06,0.1),m=NA)

#[1] 51.38935 46.10733 66.33250