mfoc: MFOC

Description Usage Arguments Value Examples

View source: R/mfoc.R

Description

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

Usage

1
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

A vector with the individual cost to each agent in a MFOC.

Examples

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

#[1] "Individual cost"
#[1] 40 28 30

InventorymodelPackage documentation built on May 29, 2017, 9:39 p.m.