Error calculating the optimal portfolio: array must not contain infs or NaNs
Error calculating the efficient frontier: cannot access local variable 'model' where it is not associated with a value
Error calculating the risk parity weights: array must not contain infs or NaNs
Error calculating the risk contributions: cannot access local variable 'w' where it is not associated with a value