pub struct OptimizationReport {
pub solution: Solution,
pub status: OptimizationStatus,
pub diagnostics: OptimizationDiagnostics,
}Expand description
Structured solver outcome returned by run_report(). Pairs the
final Solution with a status and diagnostics so callers can make
retry decisions without inspecting solver-specific error variants.
run_report() is infallible — every termination path produces a
report. Callers that prefer the older Result<Solution, _> shape
can keep using run().
Fields§
§solution: Solution§status: OptimizationStatus§diagnostics: OptimizationDiagnosticsTrait Implementations§
Source§impl Clone for OptimizationReport
impl Clone for OptimizationReport
Source§fn clone(&self) -> OptimizationReport
fn clone(&self) -> OptimizationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OptimizationReport
impl RefUnwindSafe for OptimizationReport
impl Send for OptimizationReport
impl Sync for OptimizationReport
impl Unpin for OptimizationReport
impl UnsafeUnpin for OptimizationReport
impl UnwindSafe for OptimizationReport
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