Learning objectives
- Detect an impossible fully invested portfolio before running an optimizer.
- Explain when feasibility checks are necessary but not sufficient.
Prerequisites: Understand nonnegative weights, upper bounds and a total-weight constraint.
Mechanism and interpretation
A long-only optimizer cannot allocate more to an asset than its permitted cap. For independent per-asset bounds li≤wi≤ui and a total weight of one, feasibility requires Σli≤1≤Σui, with every li≤ui. With only these box constraints and the budget equality, those conditions are sufficient: capital can be distributed from the floors into the remaining permitted capacity. Check them before attributing a solver failure to software or numerical precision.
Additional sector, currency, liquidity or cardinality limits can create conflicts even when the simple sums pass. A cap is therefore both a risk policy and a restriction on the feasible set. When a portfolio sits on all caps, an optimizer may have no freedom left to express a return forecast. Report which constraints bind and how much slack remains; a weight vector that looks optimized may be largely determined by the mandate.
Worked case · synthetic data
A hypothetical universe has four eligible risky assets, each capped at 20%, with no cash, borrowing or other asset allowed. Total capacity is only 80%, so full investment is impossible. Allowing a cash asset capped at 25% expands capacity to 105%. For example, risky weights 20%, 20%, 20%, 15% and cash 25% form one feasible 100% allocation under these bounds. That example demonstrates feasibility only; it does not claim to minimize risk or maximize expected return.
Failure modes and context
A numerical solver may return a nearly feasible result within a tolerance, but a material missing allocation cannot be repaired by calling it rounding. Adding cash changes the mandate and requires the authorized policy decision; it should never happen silently inside software. Correlated issuers and overlapping funds can also make nominal per-line caps weaker than intended. Look-through and group constraints require separate checks once their definitions are fixed.
Practice assignment
Consider six eligible assets, each with a 5% minimum and 15% maximum, with no cash initially permitted. Test the budget constraint. Then explicitly allow cash between zero and 10%, keeping all six risky bounds. Determine whether any discretion remains in the feasible weights under only these stated constraints.
Worked answer
Risky minima total 30%, but maxima total only 90%, so the original fully invested problem is infeasible. Adding cash with maximum 10% makes total upper capacity exactly 100%. Every risky asset must then be at 15% and cash at 10%; any weight below its cap would leave the budget short with no remaining capacity elsewhere. The feasible allocation is unique despite the absence of expected-return inputs.
Check your understanding
Question 1
Why do four 20% caps fail a 100% investment requirement?
- Correlation must be negative
- Their combined capacity is only 80%
- Their minimum weights total 120%
Reveal answer and reasoning
B. Their combined capacity is only 80%
The upper bounds leave at least 20% of the capital unassignable.
Question 2
When are the simple floor and cap sums sufficient?
- With only independent box bounds and the budget equality
- With every possible sector and cardinality constraint
- Only when expected returns are equal
Reveal answer and reasoning
A. With only independent box bounds and the budget equality
Additional coupled restrictions can create conflicts not visible in the two sums.
Question 3
What happens when all upper bounds sum exactly to 100%?
- The optimizer can choose any weights
- At least one weight must be negative
- Every weight must be at its cap
Reveal answer and reasoning
C. Every weight must be at its cap
Reducing any allocation would leave a shortfall that no other capped asset could absorb.
