Skip to main content

AuxiliaryPreprocessingDiagnostics

Struct AuxiliaryPreprocessingDiagnostics 

Source
pub struct AuxiliaryPreprocessingDiagnostics {
Show 14 fields pub blocks_eliminated: Index, pub candidate_blocks: Index, pub vars_eliminated: Index, pub rows_eliminated: Index, pub total_time_ms: u128, pub stage_time_ms: StageTimings, pub class_counts: ClassCounts, pub max_block_residual: Number, pub max_accepted_block_dim: Index, pub rejection_reasons: Vec<AuxiliaryRejectionReason>, pub trivially_fixed_vars: Index, pub trivially_free_rows: Index, pub trivially_slack_rows: Index, pub inequality_coupled_accepted_via_projection: Index,
}
Expand description

Per-run summary of what the auxiliary-equality preprocessing pass did. All counters are zeroed by Default::default.

§Example

use pounce_presolve::diagnostics::AuxiliaryPreprocessingDiagnostics;

let d = AuxiliaryPreprocessingDiagnostics::default();
assert_eq!(d.blocks_eliminated, 0);
assert_eq!(d.candidate_blocks, 0);
assert!(d.rejection_reasons.is_empty());

Fields§

§blocks_eliminated: Index

Number of blocks the orchestrator successfully eliminated.

§candidate_blocks: Index

Total candidate blocks examined (eliminated + rejected).

§vars_eliminated: Index

Variables fixed by the eliminated blocks (sum of block dims).

§rows_eliminated: Index

Equality rows dropped from the reduced problem.

§total_time_ms: u128

Total wall time spent inside Phase 0, in milliseconds.

§stage_time_ms: StageTimings

Per-stage wall-time breakdown.

§class_counts: ClassCounts

Per-coupling-class candidate counts.

§max_block_residual: Number

Largest block-solve residual accepted under presolve_auxiliary_tol. 0.0 when nothing was eliminated.

§max_accepted_block_dim: Index

Dimension of the largest accepted block.

§rejection_reasons: Vec<AuxiliaryRejectionReason>

One entry per rejected candidate, in encounter order.

§trivially_fixed_vars: Index

PR 13: count of variables the trivial-elimination pre-pass identified as already fixed (x_l[i] == x_u[i]). Excluded from the incidence graph.

§trivially_free_rows: Index

PR 13: count of rows the trivial pre-pass identified as “free” (g_l <= -big && g_u >= +big). Excluded.

§trivially_slack_rows: Index

PR 13: count of linear inequality rows already implied by the variable box. Excluded from the inequality incidence so they don’t trip coupling classification.

§inequality_coupled_accepted_via_projection: Index

PR 14: count of InequalityCoupled candidate blocks the orchestrator admitted because every coupled inequality turned out to be implied by the variable box after projecting the block’s linear equality system.

Trait Implementations§

Source§

impl Clone for AuxiliaryPreprocessingDiagnostics

Source§

fn clone(&self) -> AuxiliaryPreprocessingDiagnostics

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AuxiliaryPreprocessingDiagnostics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for AuxiliaryPreprocessingDiagnostics

Source§

fn default() -> AuxiliaryPreprocessingDiagnostics

Returns the “default value” for a type. Read more
Source§

impl Display for AuxiliaryPreprocessingDiagnostics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more