pub enum AuxiliaryCouplingClass {
PureEquality,
ObjectiveCoupled,
InequalityCoupled,
ObjectiveAndInequalityCoupled,
}Expand description
How a candidate block is coupled to the rest of the problem.
Drives the elimination policy: PureEquality is always eligible
under AuxiliaryCouplingPolicy::Safe, ObjectiveCoupled adds in
under Aggressive, and the two inequality-coupled variants are
never eliminated in v1 (matches ripopt’s conservative default).
Variants§
PureEquality
Block touches only equality rows and not the objective.
ObjectiveCoupled
Block variables appear in the objective gradient.
InequalityCoupled
Block variables appear in at least one inequality row.
ObjectiveAndInequalityCoupled
Both of the above.
Trait Implementations§
Source§impl Clone for AuxiliaryCouplingClass
impl Clone for AuxiliaryCouplingClass
Source§fn clone(&self) -> AuxiliaryCouplingClass
fn clone(&self) -> AuxiliaryCouplingClass
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 moreSource§impl Debug for AuxiliaryCouplingClass
impl Debug for AuxiliaryCouplingClass
Source§impl PartialEq for AuxiliaryCouplingClass
impl PartialEq for AuxiliaryCouplingClass
Source§fn eq(&self, other: &AuxiliaryCouplingClass) -> bool
fn eq(&self, other: &AuxiliaryCouplingClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AuxiliaryCouplingClass
impl Eq for AuxiliaryCouplingClass
impl StructuralPartialEq for AuxiliaryCouplingClass
Auto Trait Implementations§
impl Freeze for AuxiliaryCouplingClass
impl RefUnwindSafe for AuxiliaryCouplingClass
impl Send for AuxiliaryCouplingClass
impl Sync for AuxiliaryCouplingClass
impl Unpin for AuxiliaryCouplingClass
impl UnsafeUnpin for AuxiliaryCouplingClass
impl UnwindSafe for AuxiliaryCouplingClass
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