Simplex Controls

class ecyglpki.SimplexControls

The simplex solver control parameter object

>>> r = SimplexControls()
it_lim

Iteration limit, an int

meth

The simplex method, a str

The possible values are

  • 'primal': two-phase primal simplex
  • 'dual': two-phase dual simplex
  • 'dual_fail_primal': two-phase dual simplex and, if it fails, switch to primal simplex
>>> r.meth  # the GLPK default
'primal'
>>> r.meth = 'dual_fail_primal'
>>> r.meth
'dual_fail_primal'
msg_lev

The message level, a str

The possible values are

  • 'no': no output
  • 'warnerror': warnings and errors only
  • 'normal': normal output
  • 'full': normal output and informational messages
>>> r.msg_lev  # the GLPK default
'full'
>>> r.msg_lev = 'no'
>>> r.msg_lev
'no'
obj_ll

Lower limit of the objective function, a Real number

(Used only if meth is 'dual'.)

obj_ul

Upper limit of the objective function, a Real number

(Used only if meth is 'dual'.)

out_dly

Output delay [ms] of solution process information, an int

out_frq

Output frequency [iterations] of informational messages, an int

presolve

Whether to use the LP presolver, a bool

pricing

The pricing technique, a str

The possible values are

  • 'Dantzig': standard ‘textbook’
  • 'steepest': projected steepest edge
>>> r.pricing  # the GLPK default
'steepest'
>>> r.pricing = 'Dantzig'
>>> r.pricing
'Dantzig'
r_test

The ratio test technique, a str

The possible values are

  • 'standard': standard ‘textbook’
  • 'Harris': Harris’s two-pass ratio test
>>> r.r_test  # the GLPK default
'Harris'
>>> r.r_test = 'standard'
>>> r.r_test
'standard'
tm_lim

Time limit [ms], an int

tol_bnd

Tolerance to check if the solution is primal feasible, a Real number

tol_dj

Tolerance to check if the solution is dual feasible, a Real number

tol_piv

Tolerance to choose eligble pivotal elements, a Real number

Previous topic

Problems

Next topic

Basis Factorization Controls

This Page