pub struct OptimizationSolution {
pub solution: Vec<f64>,
pub objective_value: f64,
pub iterations: usize,
pub converged: bool,
pub gradient_norm: Option<f64>,
}Expand description
Optimization solution containing result data and metadata
Fields§
§solution: Vec<f64>The optimal solution found
objective_value: f64Final objective function value
iterations: usizeNumber of iterations performed
converged: boolWhether the algorithm converged
gradient_norm: Option<f64>Final gradient norm (if available)
Trait Implementations§
Source§impl Clone for OptimizationSolution
impl Clone for OptimizationSolution
Source§fn clone(&self) -> OptimizationSolution
fn clone(&self) -> OptimizationSolution
Returns a duplicate of the value. Read more
1.0.0 · 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 OptimizationSolution
impl RefUnwindSafe for OptimizationSolution
impl Send for OptimizationSolution
impl Sync for OptimizationSolution
impl Unpin for OptimizationSolution
impl UnwindSafe for OptimizationSolution
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