CPLEX is too heavy (OrTools is only 25MB). It's not free (OrTools is free and open source). It's bloated with useless software (OrTools isn't). In order to use CPLEX you have to learn new languages and workflow where you could just use existing programming knowledge (OrTools is available for C++, Java, C# as well).
For Windows.
- Install the 64Bit version of Python.
- Install ortools using pip
python -m pip install --upgrade --user ortools
- Clone this repository
git clone https://github.com/chaklbdev/ortoolsexample.git
- Run it
python program.py
For other systems: Check official docs.