Installation#
The recommended way to install M4OPT is using pip:
$ pip install m4opt
Important
Currently only Python 3.11 is supported due to temporary issues with CPLEX versions.
Optional: Third-Party Solvers
For the largest problems, M4OPT requires a commercial MIP solver: IBM ILOG CPLEX Optimization Studio (just “CPLEX” for short) or Gurobi Optimizer. Both products are available for free for academic users (students, staff, and faculty at accredited educational institutions).
If you are going to use the scheduling features of M4OPT, then you should follow the instructions below to install CPLEX or Gurobi. If you do not intend to use the scheduling features of M4OPT, then you may skip this step.