pub struct SolveInfo { /* private fields */ }Expand description
A struct representing the solving information returned by the solver.
Implementations§
Source§impl SolveInfo
impl SolveInfo
Sourcepub fn solving_time(&self) -> f64
pub fn solving_time(&self) -> f64
Returns the solving time.
Sourcepub fn presolve_time(&self) -> f64
pub fn presolve_time(&self) -> f64
Returns the presolve time.
Sourcepub fn best_solution_objective(&self) -> f64
pub fn best_solution_objective(&self) -> f64
Returns the best solution objective value.
Sourcepub fn best_solution_integer_violation(&self) -> f64
pub fn best_solution_integer_violation(&self) -> f64
Returns the best solution integer violation.
Sourcepub fn best_solution_bound_violation(&self) -> f64
pub fn best_solution_bound_violation(&self) -> f64
Returns the best solution bound violation.
Sourcepub fn best_solution_constraint_violation(&self) -> f64
pub fn best_solution_constraint_violation(&self) -> f64
Returns the best solution constraint violation.
Sourcepub fn solve_result(&self) -> SolveResult
pub fn solve_result(&self) -> SolveResult
Returns the solve result.
Trait Implementations§
Auto Trait Implementations§
impl !Send for SolveInfo
impl !Sync for SolveInfo
impl Freeze for SolveInfo
impl RefUnwindSafe for SolveInfo
impl Unpin for SolveInfo
impl UnsafeUnpin for SolveInfo
impl UnwindSafe for SolveInfo
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