RMOL Logo Get Revenue Management Optimisation Library at SourceForge.net. Fast, secure and Free Open Source software downloads

RMOL::DPOptimiser Class Reference

#include <rmol/bom/DPOptimiser.hpp>

List of all members.

Static Public Member Functions

static void optimalOptimisationByDP (const ResourceCapacity_T, BucketHolder &, BidPriceVector_T &)
static double cdfGaussianQ (const double, const double)

Detailed Description

Utility methods for the Dynamic Programming algorithms.

Definition at line 18 of file DPOptimiser.hpp.


Member Function Documentation

void RMOL::DPOptimiser::optimalOptimisationByDP ( const ResourceCapacity_T  iCabinCapacity,
BucketHolder ioBucketHolder,
BidPriceVector_T ioBidPriceVector 
) [static]

Dynamic Programming to compute the cumulative protection levels and booking limits (described in the book Revenue Management - Talluri & Van Ryzin, p.41-42).


The cabin capacity is used to a double to allow for some overbooking.

Definition at line 24 of file DPOptimiser.cpp.

References RMOL::BucketHolder::begin(), cdfGaussianQ(), RMOL::DEFAULT_PRECISION, RMOL::Bucket::getAverageYield(), RMOL::BucketHolder::getCurrentBucket(), RMOL::Bucket::getMean(), RMOL::BucketHolder::getNextBucket(), RMOL::BucketHolder::getSize(), RMOL::Bucket::getStandardDeviation(), RMOL::BucketHolder::iterate(), RMOL_LOG_DEBUG, RMOL::Bucket::setCumulatedBookingLimit(), and RMOL::Bucket::setCumulatedProtection().

double RMOL::DPOptimiser::cdfGaussianQ ( const double  c,
const double  sd 
) [static]

Compute the cdf_Q of a gaussian.

Definition at line 204 of file DPOptimiser.cpp.

Referenced by optimalOptimisationByDP().


The documentation for this class was generated from the following files:
SourceForge Logo

Generated on Fri Jul 30 22:23:17 2010 for RMOL by Doxygen 1.6.1