pub type ActiveProfile = HighsProfile;Expand description
The solver profile type of the compile-time-selected active backend.
Resolved under the same mutually-exclusive backend contract as
ActiveSolver (enabling both backends is a compile error): this is
ClpProfile under --features clp, otherwise HighsProfile under the
default highs feature. When neither feature is enabled, this alias is not
defined. It is the same type as <ActiveSolver as SolverInterface>::Profile.
Aliased Type§
pub struct ActiveProfile {
pub primal_feasibility_tolerance: f64,
pub dual_feasibility_tolerance: f64,
pub simplex_iteration_limit: u32,
pub ipm_iteration_limit: u32,
pub simplex_dual_edge_weight_strategy: i32,
pub simplex_scale_strategy: i32,
pub simplex_price_strategy: i32,
}Fields§
§primal_feasibility_tolerance: f64Primal feasibility tolerance.
dual_feasibility_tolerance: f64Dual feasibility tolerance.
simplex_iteration_limit: u32Per-attempt simplex iteration cap. DEFAULT_PROFILE_HEURISTIC_SENTINEL
(0) selects the historical heuristic num_cols * 50 max 100_000.
ipm_iteration_limit: u32Per-attempt IPM iteration cap. DEFAULT_PROFILE_IPM_UNBOUNDED_SENTINEL
(0) means unbounded (i32::MAX).
simplex_dual_edge_weight_strategy: i32HiGHS simplex_dual_edge_weight_strategy (-1=Choose, 0=Dantzig,
1=Devex, 2=SteepestEdge).
simplex_scale_strategy: i32HiGHS simplex_scale_strategy (0=Off, 1=Choose, 2=Curtis–Reid,
4=Equilibration). The cobre prescaler already normalizes matrix
entries, so the default is 0 (off).
simplex_price_strategy: i32HiGHS simplex_price_strategy (0=Col, 1=Row, 2=RowHyperSparse,
3=RowSparse).