EMSRb                  package:RM2                  R Documentation

_P_e_r_f_o_r_m _E_M_S_R-_b _w_i_t_h _B_u_y-_u_p _H_e_u_r_i_s_t_i_c _f_o_r _t_h_e _S_i_n_g_l_e-_R_e_s_o_u_r_c_e _P_r_o_b_l_e_m

_D_e_s_c_r_i_p_t_i_o_n:

     'EMSRb' heuristic sets the protection levels for multiple fare
     classes.

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

    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 

_D_e_t_a_i_l_s:

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

_V_a_l_u_e:

       p: protection levels 

_A_u_t_h_o_r(_s):

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

_E_x_a_m_p_l_e_s:

     ## 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

