pub struct BenchmarkRecord {
pub instance: String,
pub solver: String,
pub status: SolveStatus,
pub objective: f64,
pub primal_residual: f64,
pub dual_residual: f64,
pub iterations: usize,
pub duration: Duration,
}Expand description
One measured solver/instance result.
Fields§
§instance: StringInstance label.
solver: StringSolver label.
status: SolveStatusTermination status.
objective: f64Objective at the returned point.
primal_residual: f64Primal KKT residual.
dual_residual: f64Dual KKT residual.
iterations: usizeADMM or adapter iteration count.
duration: DurationMeasured solver-reported duration.
Implementations§
Source§impl BenchmarkRecord
impl BenchmarkRecord
Sourcepub fn markdown_row(&self) -> String
pub fn markdown_row(&self) -> String
Renders one Markdown table row.
Trait Implementations§
Source§impl Clone for BenchmarkRecord
impl Clone for BenchmarkRecord
Source§fn clone(&self) -> BenchmarkRecord
fn clone(&self) -> BenchmarkRecord
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 moreSource§impl Debug for BenchmarkRecord
impl Debug for BenchmarkRecord
Source§impl PartialEq for BenchmarkRecord
impl PartialEq for BenchmarkRecord
impl StructuralPartialEq for BenchmarkRecord
Auto Trait Implementations§
impl Freeze for BenchmarkRecord
impl RefUnwindSafe for BenchmarkRecord
impl Send for BenchmarkRecord
impl Sync for BenchmarkRecord
impl Unpin for BenchmarkRecord
impl UnsafeUnpin for BenchmarkRecord
impl UnwindSafe for BenchmarkRecord
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