Skip to main content

solve_mean_variance_factor

Function solve_mean_variance_factor 

Source
pub fn solve_mean_variance_factor(
    problem: &PortfolioProblem,
    settings: Option<SolverSettings>,
    warm_start: Option<&WarmStart>,
) -> Result<Solution, PortfolioError>
Expand description

Solves a factor mean-variance portfolio with optional custom settings.

ยงErrors

Returns validation or solver setup errors. Inspect the returned crate::SolveStatus to determine whether iteration converged.