Special PSG MATLAB Subroutines

This section includes the description of Special Subroutines for quick and easy solving optimization problems with PSG in MATLAB.

The list of MATLAB subroutines with their functionality:

 

riskprog

Minimizing risk function with linear constraints on variables.

 

riskparam

Solving optimization problem described in the section "riskprog" for several  values of a parameter.

 

riskconstrprog

Maximizing the difference of a linear function and a risk function with a constraint on a risk function and linear constraints.

 

riskconstrparam

Solving optimization problem described in the section "riskconstrprog" for several  values of a parameter.

 

riskratioprog

Maximizing ratio of risk functions with linear constraints.

 

functionvalue

Evaluating a PSG function on some point.

 

functionincrement

Calculating increments of a PSG function on some point.

 

functionsensitivity

Calculating sensitivities of a PSG function on some point.

 

 

 

  If you need to solve optimization problems including a single or linear combination of risk-functions (e.g., CVaR, VaR, Drawdown) with no or only one constraint, you may use subroutines riskprog and riskconstrprog.  Subroutine riskratioprog optimizes function rations, e.g., ratio of a linear function and CVaR deviation (Sharpe-like ratio with CVaR deviation in denominator instead of standard deviation). 

 Subroutines functionvalue, functionincrement, and functionsensitivity calculate values,  increments and sensitivities of PSG functions (e.g., Standard Deviation).