Use when building portfolios from expected returns and risk models — mean-variance frontiers with PyPortfolioOpt, custom constrained optimization with cvxpy, hierarchical/risk-budget cross-checks with Riskfolio, and implementation-aware allocation.