pub struct TropicalResult<T: Float> {
pub solution: Vec<TropicalNumber<T>>,
pub objective_value: TropicalNumber<T>,
pub iterations: usize,
pub converged: bool,
pub eigenvalue: Option<TropicalNumber<T>>,
pub trace: Option<Vec<Vec<TropicalNumber<T>>>>,
}Expand description
Results from tropical optimization
Fields§
§solution: Vec<TropicalNumber<T>>Optimal solution in tropical algebra
objective_value: TropicalNumber<T>Optimal objective value
iterations: usizeNumber of iterations performed
converged: boolWhether the algorithm converged
eigenvalue: Option<TropicalNumber<T>>Tropical eigenvalue (for eigenvalue problems)
trace: Option<Vec<Vec<TropicalNumber<T>>>>Optimization trace (if enabled)
Trait Implementations§
Source§impl<T: Clone + Float> Clone for TropicalResult<T>
impl<T: Clone + Float> Clone for TropicalResult<T>
Source§fn clone(&self) -> TropicalResult<T>
fn clone(&self) -> TropicalResult<T>
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<T> Freeze for TropicalResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for TropicalResult<T>where
T: RefUnwindSafe,
impl<T> Send for TropicalResult<T>where
T: Send,
impl<T> Sync for TropicalResult<T>where
T: Sync,
impl<T> Unpin for TropicalResult<T>where
T: Unpin,
impl<T> UnwindSafe for TropicalResult<T>where
T: UnwindSafe,
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