mfoc: MFOC

View source: R/mfoc.R

mfocR Documentation

MFOC

Description

This function obtains the associated costs in a fixed order cost model.

Usage

mfoc(n = NA, a = NA, d = NA, K = NA, cooperation = c(0, 1))

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.

cooperation

Option to indicate cooperation. If it exists cooperation=1 else cooperation=0.

Value

If cooperation=0, a vector with the individual cost to each agent in a MFOC. If cooperation=1 and n is lesser than 0, a matrix which contains the associated costs for each possible group. Otherwise, this matrix only contains the individual costs and the associated values for N.

Examples

mfoc(n=3,a=200,d=c(1.2,1.4,1.2),K=c(6,10,8),cooperation=0)

#MFOC model
#[1] 40 28 30

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