1% 2% This file tells lib(eplex) what optimizer version to expect 3% on a particular machine. Add lines of the form: 4% 5% licence(Hostname, Solver, Version, LicStr, LicNum). 6% E.g. 7% licence('breeze', xpress, '1326icp', default, 0). % OEM XPRESS-MP Version 13.26 8% licence('cow.ic.ac.uk', cplex, '80', '', 0). % CPLEX Version 8.0 9% 10% Hostname must match the result of get_flag(hostname,H), 11% converted to an atom. On some machines, this is just a name, 12% on others it is the complete internet domain name. 13% 14% Solver is one of: cplex, xpress, osi, gurobi. 15% 16% Version is a solver-specific atom, usually the concatenation 17% of the major and minor version numbers. For osi, it indicates 18% the actual COIN solver used. 19% 20% The meaning of LicStr and LicNum depends on the optimizer: 21% 22% CPLEX: 23% LicStr: environment settings for runtime licences, e.g. 24% 'CPLEXLICENSE=/usr/local/cplexlic.ptr', otherwise '' 25% LicNum: serial number for runtime licences 26% 27% XPRESS-MP: 28% LicStr: atom default if OEM version used. 29% Otherwise: directory where the licence (.pwd) files are located 30% (overrides value of XPRESS environment variable) 31% LicNum: unused 32% 33% COIN: 34% LicStr: unused, set to '' 35% LicNum: unused 36% 37% GUROBI: 38% LicStr: unused, set to '' 39% LicNum: unused 40% 41% The order of entries below is important: If a machine has multiple 42% optimizers (or optimizer versions) installed, and no solver is 43% explicitly requested (i.e. lib(eplex) is called rather than, for 44% instance, lib(eplex_cplex)), then the first matching will get loaded. 45% Hostname and Version may be left uninstantiated. 46% 47 48% Examples 49licence('breeze.icparc.ic.ac.uk', cplex, '90', '', 0). 50licence('morden.icparc.ic.ac.uk', xpress, '1427', default, 0). 51 52% Insert your hosts here 53 54% By default, use COIN/OR OSI solvers 55licence(_, osi, clpcbc, '', 0). 56licence(_, osi, symclp, '', 0). 57licence(_, osi, glpk, '', 0). 58 59% Defaults for other solvers 60licence(_Default, gurobi, '50', '', 0). 61licence(_Default, cplex, '121', '', 0). 62licence(_Default, xpress, '2000', '/opt/xpressmp/bin', 0). 63licence(_Default, xpress, '1427icp', default, 0). 64licence(_Default, xpress, '1326icp', default, 0). 65