← Back to Handbooks

Portfolio Optimization - Handbook

Type: LP (Linear Programming)

This handbook explains the Portfolio Optimization sample problem in the LP Black Box platform.


The Problem

Scenario

Invest $100,000 across three asset types to maximize returns while managing risk.

AssetReturn (%)Risk LevelCost ($)
Stocks12151
Bonds531
Real Estate881

Your Goal

Maximize total expected return while staying within risk and policy limits.

The Constraints

  1. Budget: Cannot invest more than $100,000

    Formula: 1×stocks + 1×bonds + 1×real_estate ≤ 100000

  2. Risk Limit: Total risk score cannot exceed 500

    Formula: 15×stocks + 3×bonds + 8×real_estate ≤ 500

  3. Minimum Bonds: Must invest at least $20,000 in bonds (diversification)

    Formula: 1×bonds ≥ 20000


How to Use

Step 1: Load the Sample

Select Portfolio Optimization from the dropdown.

Step 2: Solve

The solver finds the optimal allocation that maximizes return while respecting risk tolerance.


Try It Yourself


This demonstrates investment optimization with risk constraints.