Line rule (coalitional)

Share:

Description

Line rule for an inventory transportation system for each possible coalition.

Usage

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

Matrix with allocations proposed by Line rule to agents (columns) in each possible coalition S (row).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
linerulecoalitional(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        2       3 Coalitional cost
#   0.00000  0.00000  0.0000          0.00000
#  73.48469  0.00000  0.0000         73.48469
#   0.00000 69.28203  0.0000         69.28203
#   0.00000  0.00000 66.3325         66.33250
#  52.59885 48.39619  0.0000        100.99505
#  61.26061  0.00000 66.3325        127.59310
#   0.00000 55.97858 66.3325        122.31108
#  51.38935 46.10733 66.3325        163.82918