pub struct ObjExp<Identifier = String> {
pub info: MetaInfo<Identifier>,
pub ty: ObjType,
pub list: Vec<IntExp<Identifier>>,
pub coeffs: Vec<IntVal>,
}Expand description
Expression used to represent an objective function
Fields§
§info: MetaInfo<Identifier>Optional metadata for the objective
ty: ObjTypeEvaluation method for the list of expressions
list: Vec<IntExp<Identifier>>List of expressions
coeffs: Vec<IntVal>List of coefficients to apply to the expressions
Trait Implementations§
Source§impl<'de, Identifier> Deserialize<'de> for ObjExp<Identifier>where
Identifier: FromStr,
impl<'de, Identifier> Deserialize<'de> for ObjExp<Identifier>where
Identifier: FromStr,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<Identifier> StructuralPartialEq for ObjExp<Identifier>
Auto Trait Implementations§
impl<Identifier> Freeze for ObjExp<Identifier>where
Identifier: Freeze,
impl<Identifier> RefUnwindSafe for ObjExp<Identifier>where
Identifier: RefUnwindSafe,
impl<Identifier> Send for ObjExp<Identifier>where
Identifier: Send,
impl<Identifier> Sync for ObjExp<Identifier>where
Identifier: Sync,
impl<Identifier> Unpin for ObjExp<Identifier>where
Identifier: Unpin,
impl<Identifier> UnwindSafe for ObjExp<Identifier>where
Identifier: UnwindSafe,
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