How to load the library

## 16.2 How to load the library

To use the library, you must have an MP solver that eplex can use. This can be an open-source solver such as the COIN-OR project’s CLP/CBC solvers, which is distributed with ECLiPSe, or a commercial solver such as XPRESS-MP or CPLEX. Your ECLiPSe should be configured to load in a ‘default’ solver if there is more than one available.

⊙
  See the library manual’s Eplex chapter for details for how to install the solver.

When configured properly, the library can be loaded with the directive:

>     :- lib(eplex).

This will load the library with the default external MP solver.

You probably need a valid license in order to use an external commercial solver.