pub struct LeastSquareMults;Implementations§
Trait Implementations§
Source§impl Default for LeastSquareMults
impl Default for LeastSquareMults
Source§impl EqMultCalculator for LeastSquareMults
impl EqMultCalculator for LeastSquareMults
Source§fn calculate_y_eq(
&mut self,
data: &IpoptDataHandle,
cq: &IpoptCqHandle,
nlp: &Rc<RefCell<dyn IpoptNlp>>,
aug_solver: &mut dyn AugSystemSolver,
y_c: &mut dyn Vector,
y_d: &mut dyn Vector,
) -> bool
fn calculate_y_eq( &mut self, data: &IpoptDataHandle, cq: &IpoptCqHandle, nlp: &Rc<RefCell<dyn IpoptNlp>>, aug_solver: &mut dyn AugSystemSolver, y_c: &mut dyn Vector, y_d: &mut dyn Vector, ) -> bool
Compute initial equality multipliers
y_c, y_d. Mirrors
Ipopt::EqMultiplierCalculator::CalculateMultipliers. Returns
false if the underlying linear solve fails.Auto Trait Implementations§
impl Freeze for LeastSquareMults
impl RefUnwindSafe for LeastSquareMults
impl Send for LeastSquareMults
impl Sync for LeastSquareMults
impl Unpin for LeastSquareMults
impl UnsafeUnpin for LeastSquareMults
impl UnwindSafe for LeastSquareMults
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
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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