SysTutorials

Linux Manual Pages › Section 1

rmol_drawbpc(1)

rmol_drawBPC –

 Command-line utility for the C++ Revenue Management Optimisation Library

Synopsis

rmol_drawBPC [–prefix] [-v|–version] [-h|–help] [-b|–builtin] [-i|–input <path-to-input>] [-l|–log <path-to-output-log-file>]

Description

rmol_drawBPC is a small program showing how to use the RMOL library.

rmol_drawBPC accepts the following options:

–prefix

 Show the RMOL installation prefix.

-v, –version

 Print the currently installed version of RMOL on the standard output.

-h, –help

 Produce that message and show usage.

-d, –draws

 Number of to-be-generated random draws.

-c, –capacity

 Resource capacity (e.g., for a flight leg-cabin).

-m, –method

 Revenue Management method to be used (0 = Monte-Carlo, 1 = Dynamic Programming, 2 = EMSR, 3 = EMSR-a, 4 = EMSR-b)

-b, –builtin

 The leg-cabin set up can be either built-in or parsed from an input file. That latter must then be given with the -i/–input option. In any case, a sample (‘dummy’) BOM tree is built from hard-coded parameters to wrap the leg-cabin set-up and allow the usage of classical StdAir API (e.g, stdair::BomDisplay::csvDisplay()).

-i, –input <path-to-input-file>

 Path (absolute or relative) of the (CSV) input file specifying the demand distribution parameters and resource (leg-cabin) capacities.

-l, –log <path-to-output-log-file>

 Path (absolute or relative) of the output log file.

See the output of the `rmol_drawBPC –help’ command for default options.

See Also

rmol(1), rmol-config(1), rmol-library(3)

Support

Please report any bugs to http://github.com/airsim/rmol/issues

Copyright

Copyright © 2007-2013 Denis Arnaud

See the COPYING file for more information on the (LGPLv2+) license, or directly on Internet:

 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html