pub enum PenaltyMethod {
Exterior,
Interior,
AugmentedLagrangian,
}Expand description
Penalty method types
Variants§
Exterior
Exterior penalty method
Interior
Interior penalty method (barrier)
AugmentedLagrangian
Augmented Lagrangian method
Trait Implementations§
Source§impl Clone for PenaltyMethod
impl Clone for PenaltyMethod
Source§fn clone(&self) -> PenaltyMethod
fn clone(&self) -> PenaltyMethod
Returns a duplicate of the value. Read more
1.0.0 · 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 PenaltyMethod
impl Debug for PenaltyMethod
impl Copy for PenaltyMethod
Auto Trait Implementations§
impl Freeze for PenaltyMethod
impl RefUnwindSafe for PenaltyMethod
impl Send for PenaltyMethod
impl Sync for PenaltyMethod
impl Unpin for PenaltyMethod
impl UnwindSafe for PenaltyMethod
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