Struct highs::SolvedModel
source · pub struct SolvedModel { /* private fields */ }
Expand description
A solved model
Implementations§
source§impl SolvedModel
impl SolvedModel
sourcepub fn status(&self) -> HighsModelStatus
pub fn status(&self) -> HighsModelStatus
The status of the solution. Should be Optimal if everything went well
sourcepub fn get_solution(&self) -> Solution
pub fn get_solution(&self) -> Solution
Get the solution to the problem
Trait Implementations§
source§impl Debug for SolvedModel
impl Debug for SolvedModel
source§impl From<SolvedModel> for Model
impl From<SolvedModel> for Model
source§fn from(solved: SolvedModel) -> Self
fn from(solved: SolvedModel) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SolvedModel
impl !Send for SolvedModel
impl !Sync for SolvedModel
impl Unpin for SolvedModel
impl UnwindSafe for SolvedModel
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