Skip to main content

OptimizeResult

Type Alias OptimizeResult 

Source
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§

§1.0.0

Ok(SolverResult<SlotMap<VarKey, Box<dyn ManifoldVariable>>>)

Contains the success value

§1.0.0

Err(ApexSolverError)

Contains the error value