[go: up one dir, main page]

Menu

[4ca648]: / README  Maximize  Restore  History

Download this file

78 lines (65 with data), 2.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77

Summary:
--------
RMOL is a C++ library of Revenue Management and Optimisation classes 
and functions. Typically, that library may be used by service providers
(e.g., airlines offering flight seats, hotels offering rooms, rental car
companies offering rental days, broadcasting company offering advertisement 
slots, theaters offering seats, etc.) to help in optimising their revenues 
from seat capacities.
Most of the algorithms implemented are public and documented in the 
following book:
The Theory and practice of Revenue Management, by Kalyan T. Talluri and
Garrett J. van Ryzin, Kluwer Academic Publishers, 2004, ISBN 1-4020-7701-7

RMOL makes an extensive use of existing open-source libraries for
increased functionality, speed and accuracy. In particular the
Boost (C++ Standard Extensions: http://www.boost.org) library is used.


Getting and installing from the Fedora/CentOS/RedHat distribution:
------------------------------------------------------------------
Just use Yum:
yum -y install rmol-devel rmol-doc

You can also get the RPM packages (which may work on Linux
distributions like Novel Suse and Mandriva) from the Fedora repository
(e.g., for Fedora 16, 
http://fr2.rpmfind.net/linux/fedora/releases/16/Everything/)


Building the library and test binary from Subversion repository:
----------------------------------------------------------------
The Sourceforge Git repository may be cloned as following:
git clone ssh://rmol.git.sourceforge.net/gitroot/rmol/rmol rmolgit
cd rmolgit
git checkout trunk

Then, you need the following packages (Fedora Core 6 names here, 
but names may vary according to distributions):
  * cmake
  * gcc-c++
  * stdair-devel, airrac-devel
  * boost-devel
  * gsl-devel (optional)
  * zeromq-devel
  * readline-devel
  * soci-mysql-devel
  * python-devel
  * gettext-devel (optional)
  * doxygen, ghostscript, graphviz and tetex-latex (optional)
  * rpm-build (optional)

Building the library and test binary from the tarball:
------------------------------------------------------
The latest stable source tarball (rmol*.tar.gz or .bz2) can be found here:
http://sourceforge.net/project/showfiles.php?group_id=177703

Then, as usual:
* To configure the project, type something like:
  mkdir build && cd build
  cmake -DCMAKE_INSTALL_PREFIX=/home/user/dev/deliveries/rmol-0.25.0 \
   -DWITH_STDAIR_PREFIX=/home/user/dev/deliveries/stdair-stable \
   -DWITH_AIRRAC_PREFIX=/home/user/dev/deliveries/airrac-stable \
   -DCMAKE_BUILD_TYPE:STRING=Debug -DINSTALL_DOC:BOOL=ON ..
* To build the project, type:
  make
* To test the project, type:
  make check
* To install the library (librmol*.so*) and the binary (rmol),
  make install
* To package the source files, type:
  make dist
* To package the binary and the (HTML and PDF) documentation:
  make package

Denis Arnaud (October 2011)