Skip to main content

default_backend_factory

Function default_backend_factory 

Source
pub fn default_backend_factory(
    feral_cfg: FeralConfig,
    ma57_cfg: Ma57Config,
) -> LinearBackendFactory
Expand description

Default symmetric linear-solver factory, parameterized by the pounce-extension FERAL knobs and the ma57_* knobs read off the application’s OptionsList.

FERAL (pure-Rust) is the shipping default. The HSL MA57 backend is available when the ma57 cargo feature is enabled; without it, requesting linear_solver = ma57 falls back to FERAL with a warning printed by the journalist (see AlgorithmBuilder).

Both configs are snapshots, not live views: take them with feral_config_from_options and ma57_config_from_options at the point the application’s options are fully populated. The factory is called more than once per solve (the main KKT solver and, under limited memory, the Hessian-free bypass solver), so each call gets a fresh backend built from the same snapshot.