shapley_mfoc: SMFOC

View source: R/shapley_mfoc.R

shapley_mfocR Documentation

SMFOC

Description

Function to calculate the Shapley value for the associated game to a fixed order cost model.

Usage

shapley_mfoc(n = NA, a = NA, d = NA, K = NA)

Arguments

n

Agents in the inventory situation.

a

The fixed cost per order.

d

Vector. Deterministic demands per time unit to each agent.

K

Vector. Warehouse's capacity to each agent.

Value

Shapley value for the associated game to the fixed order cost model.

Examples

shapley_mfoc(n=5,a=200,d=c(1.2,1.4,1.2,1.3,0.4),K=c(6,10,8,8,4))

#Shapley-Value
#MFOC model
#[1]  4.000000  6.000000  6.666667  7.916667 15.416667

Inventorymodel documentation built on Aug. 17, 2023, 9:06 a.m.