KLUControl¶
- class sksparse.klu.KLUControl[source]¶
A dataclass to set KLU control parameters.
- memgrow[source]¶
The memory growth factor. Default is
None, which uses theKLUdefault of1.2.- Type:
- initmem_amd[source]¶
The initial memory allocation factor for AMD. Default is
None, which uses theKLUdefault of1.2.- Type:
- initmem[source]¶
The initial memory allocation factor for the numeric factorization. Default is
None, which uses theKLUdefault of10.- Type:
- maxwork[source]¶
The maximum work done by BTF. Default is
None, which uses theKLUdefault of0, or unlimited.- Type:
- btf[source]¶
Whether to use BTF pre-ordering. Default is
None, which uses theKLUdefault ofTrue.- Type:
- ordering[source]¶
The fill-reducing ordering. Accepted values are:
AMD: Approximate Minimum Degree ordering.COLAMD: Column Approximate Minimum Degree ordering.user_perm: User-provided ordering (not yet supported).user_func: User-defined ordering function (not yet supported).
Default is
None, which uses theKLUdefault setting ofAMD.- Type:
- scale[source]¶
The row-scaling method. Accepted values are:
none_no_checknonesummax
Default is
None, which uses theKLUdefault setting ofmax.- Type:
Added in version 0.5.0.
Methods