apaRandomWeights.Restricted.Subspace(NumberOfAllocations, PortfolioExposure, LowerBounds, UpperBounds, nSubspaceMinimum)
Excel
=apaRandomWeights.Restricted.Subspace(NumberOfAllocations, PortfolioExposure, LowerBounds, UpperBounds, nSubspaceMinimum)Result
Generates random allocations subject to lower and upper bounds and a constraint on total exposure. Subspace method, i.e. the number of constituents in a portfolio is allowed to be smaller than the number of assets.
Syntax
NumberOfAllocations: number of random allocations to generate
PortfolioExposure: value of the equality constraint on total portfolio exposure, i.e. the sum of constituent exposures
LowerBounds: 1 x c vector of constituent lower bounds
UpperBounds: 1 x c vector of constituent upper bounds
nSubspaceMinimum: minimum number of portfolio constituents
