linerule {Inventorymodel}R Documentation

Line rule

Description

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

Usage

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

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)

#Line rule
#[1] 51.38935 46.10733 66.33250

[Package Inventorymodel version 1.1.0.1 Index]