mct: MCT

Description Usage Arguments Value Examples

View source: R/mct.R

Description

This function obtains the associated costs in a basic EOQ system without holding costs and with transportation cost.

Usage

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

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.

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 MCT.

Examples

1
2
3
4
mct(n=3,a=400,av=c(300,500,200),d=c(2,2,5),K=c(9,8,7),cooperation=0)

#[1] "Individual cost"
#[1] 155.5556 225.0000 428.5714

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