When building PyGLPK, certain functions will be disabled depending on what version of GLPK the build process believes it is using. Below is a list of GLPK versions, and descriptions of what functionality will not work in earlier versions. (Or, in some cases, later versions.)
The examples may use a hypothetical glpk.LPX
instance named lp
for illustrative purposes.
LPX.DUAL
constant for the meth
keyword parameter of the LPX.simplex
solver method.LPX.SF_GM
, LPX.SF_EQ
, LPX.SF_2N
, LPX.SF_SKIP
, and LPX.SF_AUTO
constants, for the LPX.scale
method's argument.gmi_cuts
keyword parameter for the LPX.integer
solver.
mir_cuts
keyword parameter for the LPX.integer
solver.
LPX.integer
callback to have select
, prepro
, and branch
methods called by the callback procedure. For the same reasons, the Tree
methods select
, can_branch
, and branch_upon
do not appear until this version.pp_tech
keyword parameter for the LPX.integer
solver, and associated constants.
LPX.integer
MIP solver method including callbacks, and associated constants for the many keyword parameters, as well as all types associated therein, most notably Tree
and TreeNode
.Environment.mem_limit
attribute for setting the maximum number of megabytes the GLPK will allocate.