Negative Skewness Constraints
The methods below are public. The other names of this topic are private, and the private page documents them.
PortfolioOptimisers.set_risk_constraints! — Method
set_risk_constraints!(
model::Model,
i,
r::NegativeSkewness,
opt::Union{AbstractProgrammeAllocationSet, RiskJuMPOptimisationEstimator},
pr::AbstractPriorResult,
args...;
prefix,
kwargs...
) -> Any
Add negative-skewness risk constraints to model.
Selects the co-skewness matrix (from r.V or pr.V), creates a scalar variable, adds the SOC constraint [sc * nskew_risk; sc * G * w] in SOC, and dispatches to set_negative_skewness_risk! for bounding.
Any prior result is accepted. V must resolve on one side or the other, and assert_high_order_quantity refuses the measure when it resolves on neither. V travels with sk out of one fit, so a measure that holds its own pair takes nothing else from the prior.
Mathematical definition
\[\begin{align} \mathrm{NSkew}(\boldsymbol{w}) &= \lVert \mathbf{G}_V \boldsymbol{w} \rVert_2\,, \\ \mathbf{G}_V^\intercal \mathbf{G}_V &= \mathbf{V}\,. \end{align}\]
Where:
- $\mathrm{NSkew}(\boldsymbol{w})$: Negative skewness risk measure.
- $\mathbf{G}_V$: Transpose of the square root of the projected co-skewness matrix $\mathbf{V}$ that
matrix_square_roottakes under themtx_sqrtof the measure. - $\boldsymbol{w}$: Portfolio weights vector $N \times 1$.
where $\mathbf{V}$ is the co-skewness matrix projected onto the weight space.
Arguments
model::JuMP.Model: The JuMP optimisation model.i: Constraint index for unique variable and constraint naming.r::NegativeSkewness: Negative-skewness risk measure instance.opt::RiskConstraintOwner: The owner of the risk constraint, a risk-based JuMP optimisation estimator or a programme Allocation Set.pr::AbstractPriorResult: Prior result. It suppliesVwhen the measure states none.
Returns
nothing.
Related