PD_internal: Unconstrain the demand using the Projection-Detruncation algorithm
Description
PD_internal is the internal function called by PD .
Usage
PD_internal(demand = demand, tau = 0.5, eps = 0.005)
Arguments
demand
demand vector with constrained and unconstrained entries. A 0 in the name of an entry means that the corresponding demand is unconstrained. Conversely, a 1 in the name of an entry suggests that the corresponding demand is constrained.
tau
fixed constant that reflects how aggresive the unconstrainig is. The default value is 0.5.
eps
small number used as the stopping criterion. The default value is 0.005.
Value
param
parameters of demand distribution
niter
number of iterations
demand
unconstrained demand
history
convergence history
Details
PD_internal unconstrains demand data in quantity-based revenue management.
References
Talluri, K. T. and Van Ryzin, G. (2004) The Theory and Practice of Revenue Management. New York, NY: Springer Science + Business Media, Inc. (Pages 485-486).