[ library(eplex) | Reference Manual | Alphabetic Index ]
Get a runtime license token for the external solver.
- String or Atom
The eplex-library interfaces to an external simplex/MIP solver
which might require a license to run (e.g. CPLEX, XPRESS-MP, Gurobi).
When the eplex-library is loaded, it tries to obtain a license
immediately. However, this might not be possible, either
because no licenses are currently available, or because
specific licensing information needs to be supplied.
In the latter case, lp_get_license/2 must be called explicitly
by the programmer, and the relevant licensing information must
be supplied as arguments. The meaning of the arguments is
specific to the solver used:
CPLEX development unused unused
CPLEX runtime licenvstring serialnum
XPRESS-MP development xpress_path unused
XPRESS-MP runtime xpress_path response
Gurobi license_file unused
OSI unused unused
If LicStr is a file or directory name, it is expected to be in
the native operating system syntax.
Fails if no license can (currently) be obtained
lp_get_license / 0, lp_release_license / 0, lp_get_license_challenge / 1