Skip to main content

PounceComplementarityStats

Struct PounceComplementarityStats 

Source
#[repr(C)]
pub struct PounceComplementarityStats {
Show 30 fields pub struct_size: Index, pub strategy: [c_char; 16], pub reported: Index, pub accepted_by: [c_char; 32], pub fallback: [c_char; 32], pub n_solves: Index, pub total_iterations: Index, pub max_abs_product: Number, pub certificate_class: Index, pub n_pairs: Index, pub n_biactive: Index, pub n_neither: Index, pub multipliers_unique: Index, pub residual: Number, pub resid_tol: Number, pub tight: Index, pub feasible: Index, pub primal_violation: Number, pub b_verdict: Index, pub b_n_biactive: Index, pub b_branches_solved: Index, pub b_enumerated: Index, pub escapes: Index, pub lifted: Index, pub natural_residual: Number, pub polish_ran: Index, pub polish_taken: Index, pub polish_residual_before: Number, pub polish_residual_after: Number, pub polish_threshold: Number,
}
Expand description

C mirror of the driver’s MpccOutcome for pounce.h’s PounceComplementarityStats. Field order is the ABI (Pounce.jl mirrors structs field for field); tests/c_examples_build_and_run.rs holds every offset to the C compiler’s. Sentinels instead of discriminants: NaN for a real that was not measured (or is not finite, as the report’s null), -1 for a count or flag whose record is absent.

Extensible (see ExtensibleOut in this crate): struct_size first, set by the caller to sizeof(PounceComplementarityStats); fields are only ever appended.

Fields§

§struct_size: Index§strategy: [c_char; 16]§reported: Index§accepted_by: [c_char; 32]§fallback: [c_char; 32]§n_solves: Index§total_iterations: Index§max_abs_product: Number§certificate_class: Index§n_pairs: Index§n_biactive: Index§n_neither: Index§multipliers_unique: Index§residual: Number§resid_tol: Number§tight: Index§feasible: Index§primal_violation: Number§b_verdict: Index§b_n_biactive: Index§b_branches_solved: Index§b_enumerated: Index§escapes: Index§lifted: Index§natural_residual: Number§polish_ran: Index§polish_taken: Index§polish_residual_before: Number§polish_residual_after: Number§polish_threshold: Number

Trait Implementations§

Source§

impl Clone for PounceComplementarityStats

Source§

fn clone(&self) -> Self

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 Copy for PounceComplementarityStats

Source§

impl Debug for PounceComplementarityStats

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> ByRef<T> for T

Source§

fn by_ref(&self) -> &T

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, U> Imply<T> for U
where T: ?Sized, U: ?Sized,

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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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