pub type OptimizeResult = Result<SolverResult<SlotMap<VarKey, Box<dyn ManifoldVariable>>>, ApexSolverError>;Expand description
Type alias for the result returned by all optimizer optimize() calls.
Aliased Type§
pub enum OptimizeResult {
Ok(SolverResult<SlotMap<VarKey, Box<dyn ManifoldVariable>>>),
Err(ApexSolverError),
}Variants§
Ok(SolverResult<SlotMap<VarKey, Box<dyn ManifoldVariable>>>)
Contains the success value
Err(ApexSolverError)
Contains the error value