JuMP model setup
The methods below are public. The other names of this topic are private, and the private page documents them.
PortfolioOptimisers.set_risk_constraints! — Function
set_risk_constraints!(model::JuMP.Model, i, r, opt, pr, args...; kwargs...)Add the variables, expressions and rows of the risk measure r to the JuMP model.
This is the declaration of the generic function. Each risk measure defines a method in the file of its constraints. i is the index of the measure in its vector, and it keeps the entries of two measures of one type apart.
Related