How To Install rmol on CentOS 7

In this tutorial we learn how to install rmol on CentOS 7. rmol is C++ library of Revenue Management and Optimisation classes and

Introduction

In this tutorial we learn how to install rmol on CentOS 7.

What is rmol

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 optimizing 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 used. Install the rmol package if you need a library of basic C++ objects for Airline Revenue Management (RM), mainly for simulation purpose.

We can use yum or dnf to install rmol on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install rmol.

Install rmol on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install rmol using yum by running the following command:

sudo yum -y install rmol

Install rmol on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install rmol using dnf by running the following command:

sudo dnf -y install rmol

How To Uninstall rmol on CentOS 7

To uninstall only the rmol package we can use the following command:

sudo dnf remove rmol

References

Summary

In this tutorial we learn how to install rmol on CentOS 7 using yum and dnf.