EMSRb: Perform EMSR-b with Buy-up Heuristic for the Single-Resource...

Description Usage Arguments Details Value Author(s) Examples

Description

EMSRb heuristic sets the protection levels for multiple fare classes.

Usage

1
EMSRb(Fare = Fare, Mean = Mean, Var = Var, p_up = numeric(length(Fare)), cap = cap)

Arguments

Fare

revenue vector associated with selling the offered products

Mean

mean product demand

Var

product demand variance

p_up

buy-up probabilities. The default entails no buy-up probabilities.

cap

available capacity

Details

EMSRb sorts internally the Fare vector together with all other input vectors in descending order of the revenues. If p_up is missing, EMSRb performs the classical EMSRb heuristic.

Value

p

protection levels

Author(s)

Tudor Bodea tudor.bodea@ihg.com
Dev Koushik dev.koushik@ihg.com
Mark Ferguson mark.ferguson@mgt.gatech.edu

Examples

1
2
3
4
5
6
7
## Run a simple EMRSb instance
Fare <- c(150, 100, 50, 250)
Mean <- c(75, 125, 500, 50)
Var <- c(75, 125, 500, 50)
cap <- 400
p <- EMSRb(Fare = Fare, Mean = Mean, Var = Var, cap = cap)
p

Example output

Loading required package: msm
250 150 100  50 
 49 125 257 400 

RM2 documentation built on May 2, 2019, 9:23 a.m.

Related to EMSRb in RM2...