The basis factorization control parameter object
>>> p = Problem()
>>> r = FactorizationControls(p)
Tolerance below which numbers are replaced by zero, a Real number
>>> r.eps_tol # the GLPK default
2.220446049250313e-16
>>> r.eps_tol = 0.1
>>> r.eps_tol
0.1
Maximal number of additional row-like factors, an int
(Used only when type contains 'Forrest-Tomlin'.)
>>> r.nfs_max # the GLPK default
100
>>> r.nfs_max = 200
>>> r.nfs_max
200
Maximal number of additional row and columns, an int
(Used only when type contains 'Bartels-Golub' or 'Givens'.)
>>> r.nrs_max # the GLPK default
70
>>> r.nrs_max = 7
>>> r.nrs_max
7
Number of pivot candidates that need to be considered, an int ≥1
>>> r.piv_lim # the GLPK default
4
>>> r.piv_lim = 3
>>> r.piv_lim
3
Markowitz threshold pivoting tolerance, a Real number
(Value must lie between 0 and 1.)
>>> r.piv_tol # the GLPK default
0.1
>>> r.piv_tol = 0.5
>>> r.piv_tol
0.5
Whether to use Suhl heuristic, a bool
>>> r.suhl # the GLPK default
True
>>> r.suhl = False
>>> r.suhl
False
The basis factorization type, str pairs
Possible first components:
Possible second components
>>> r.type # the GLPK default
('LU', 'Forrest-Tomlin')
>>> r.type = ('BTLU', 'Bartels-Golub')
>>> r.type
('BTLU', 'Bartels-Golub')