pub struct PlanConfig {
pub eq_tol: Number,
pub coeff_tol: Number,
pub feas_tol: Number,
pub max_passes: usize,
}Expand description
Tunables for build_plan.
Fields§
§eq_tol: Number|g_u - g_l| at or below this makes a row an equality.
coeff_tol: NumberAn accumulated coefficient at or below coeff_tol * row_scale is
treated as structurally absent.
feas_tol: NumberHow far a derived value may sit outside a declared bound before the
plan is abandoned as contradictory. Below this the value is clamped
into the box instead — the same “float noise is not an empty set”
reading PresolveTnlp applies to sub-margin crossings.
max_passes: usizeCap on fixed-point sweeps over the candidate rows.
Trait Implementations§
Source§impl Clone for PlanConfig
impl Clone for PlanConfig
Source§fn clone(&self) -> PlanConfig
fn clone(&self) -> PlanConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlanConfig
Source§impl Debug for PlanConfig
impl Debug for PlanConfig
Auto Trait Implementations§
impl Freeze for PlanConfig
impl RefUnwindSafe for PlanConfig
impl Send for PlanConfig
impl Sync for PlanConfig
impl Unpin for PlanConfig
impl UnsafeUnpin for PlanConfig
impl UnwindSafe for PlanConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more