pub struct LinearConstraints {
pub a_ub: Vec<Vec<f64>>,
pub b_ub: Vec<f64>,
pub a_eq: Vec<Vec<f64>>,
pub b_eq: Vec<f64>,
}Expand description
Linear constraints a_ub x ≤ b_ub and a_eq x = b_eq (rows of a_ub, a_eq), kept exact by
cobyqa_with instead of being modelled.
Fields§
§a_ub: Vec<Vec<f64>>§b_ub: Vec<f64>§a_eq: Vec<Vec<f64>>§b_eq: Vec<f64>Trait Implementations§
Source§impl Clone for LinearConstraints
impl Clone for LinearConstraints
Source§impl Debug for LinearConstraints
impl Debug for LinearConstraints
Auto Trait Implementations§
impl Freeze for LinearConstraints
impl RefUnwindSafe for LinearConstraints
impl Send for LinearConstraints
impl Sync for LinearConstraints
impl Unpin for LinearConstraints
impl UnsafeUnpin for LinearConstraints
impl UnwindSafe for LinearConstraints
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