|
ROL
|
Provides an interface for a convex combination of conditional value-at-risks. More...
#include <ROL_MixedCVaR.hpp>
Public Member Functions | |
| MixedCVaR (ROL::ParameterList &parlist) | |
| MixedCVaR (const std::vector< Real > &prob, const std::vector< Real > &coeff, const ROL::Ptr< PlusFunction< Real > > &pf) | |
| void | initialize (const Vector< Real > &x) override |
| Real | computeStatistic (const Ptr< const std::vector< Real > > &xstat) const override |
| void | updateValue (Objective< Real > &obj, const Vector< Real > &x, const std::vector< Real > &xstat, Real &tol) override |
| Real | getValue (const Vector< Real > &x, const std::vector< Real > &xstat, SampleGenerator< Real > &sampler) override |
| void | updateGradient (Objective< Real > &obj, const Vector< Real > &x, const std::vector< Real > &xstat, Real &tol) override |
| void | getGradient (Vector< Real > &g, std::vector< Real > &gstat, const Vector< Real > &x, const std::vector< Real > &xstat, SampleGenerator< Real > &sampler) override |
| void | updateHessVec (Objective< Real > &obj, const Vector< Real > &v, const std::vector< Real > &vstat, const Vector< Real > &x, const std::vector< Real > &xstat, Real &tol) override |
| void | getHessVec (Vector< Real > &hv, std::vector< Real > &hvstat, const Vector< Real > &v, const std::vector< Real > &vstat, const Vector< Real > &x, const std::vector< Real > &xstat, SampleGenerator< Real > &sampler) override |
Private Member Functions | |
| void | initializeMCVAR (void) |
| void | checkInputs (void) |
Private Attributes | |
| ROL::Ptr< PlusFunction< Real > > | plusFunction_ |
| std::vector< Real > | prob_ |
| std::vector< Real > | coeff_ |
| std::vector< Real > | vec_ |
| int | size_ |
Provides an interface for a convex combination of conditional value-at-risks.
The risk measure associated with the mixed-quantile quadrangle is defined as
\[ \mathcal{R}(X) = \lambda_1 \mathrm{CVaR}_{\beta_1}(X) + \ldots + \lambda_n \mathrm{CVaR}_{\beta_n}(X) \]
where \(0 \le \beta_1 \le \cdots \le \beta_n < 1\) and \(0 \le \lambda_i\), \(i=1,\ldots,n\), satisfies
\[ \lambda_1 + \ldots + \lambda_n = 1. \]
Here, the conditional value-at-risk (CVaR) with confidence level \(0\le \beta < 1\) is
\[ \mathrm{CVaR}_\beta(X) = \inf_{t\in\mathbb{R}} \left\{ t + \frac{1}{1-\beta} \mathbb{E}\left[(X-t)_+\right] \right\} \]
where \((x)_+ = \max\{0,x\}\). If the distribution of \(X\) is continuous, then \(\mathrm{CVaR}_{\beta}(X)\) is the conditional expectation of \(X\) exceeding the \(\beta\)-quantile of \(X\) and the optimal \(t\) is the \(\beta\)-quantile. Additionally, \(\mathcal{R}\) is a law-invariant coherent risk measure.
When using derivative-based optimization, the user can provide a smooth approximation of \((\cdot)_+\) using the ROL::PlusFunction class.
Definition at line 54 of file ROL_MixedCVaR.hpp.
|
inline |
Definition at line 102 of file ROL_MixedCVaR.hpp.
References checkInputs(), coeff_, plusFunction_, and prob_.
|
inline |
Definition at line 114 of file ROL_MixedCVaR.hpp.
References checkInputs(), coeff_, plusFunction_, and prob_.
|
inlineprivate |
Definition at line 76 of file ROL_MixedCVaR.hpp.
References prob_, size_, and vec_.
Referenced by checkInputs().
|
inlineprivate |
Definition at line 81 of file ROL_MixedCVaR.hpp.
References coeff_, initializeMCVAR(), plusFunction_, prob_, ROL::ROL_EPSILON(), and zero.
Referenced by MixedCVaR(), and MixedCVaR().
|
inlineoverride |
Definition at line 121 of file ROL_MixedCVaR.hpp.
|
inlineoverride |
Definition at line 126 of file ROL_MixedCVaR.hpp.
|
inlineoverride |
Definition at line 136 of file ROL_MixedCVaR.hpp.
References coeff_, plusFunction_, prob_, and size_.
|
inlineoverride |
Definition at line 148 of file ROL_MixedCVaR.hpp.
References coeff_, size_, and ROL::SampleGenerator< Real >::sumAll().
|
inlineoverride |
Definition at line 159 of file ROL_MixedCVaR.hpp.
References coeff_, plusFunction_, prob_, ROL::ROL_EPSILON(), size_, and vec_.
|
inlineoverride |
Definition at line 176 of file ROL_MixedCVaR.hpp.
References coeff_, size_, ROL::SampleGenerator< Real >::sumAll(), and vec_.
|
inlineoverride |
Definition at line 188 of file ROL_MixedCVaR.hpp.
References coeff_, plusFunction_, prob_, ROL::ROL_EPSILON(), size_, and vec_.
|
inlineoverride |
Definition at line 213 of file ROL_MixedCVaR.hpp.
References size_, ROL::SampleGenerator< Real >::sumAll(), and vec_.
|
private |
Definition at line 56 of file ROL_MixedCVaR.hpp.
Referenced by checkInputs(), MixedCVaR(), MixedCVaR(), updateGradient(), updateHessVec(), and updateValue().
|
private |
Definition at line 57 of file ROL_MixedCVaR.hpp.
Referenced by checkInputs(), initializeMCVAR(), MixedCVaR(), MixedCVaR(), updateGradient(), updateHessVec(), and updateValue().
|
private |
Definition at line 58 of file ROL_MixedCVaR.hpp.
Referenced by checkInputs(), computeStatistic(), getGradient(), getValue(), MixedCVaR(), MixedCVaR(), updateGradient(), updateHessVec(), and updateValue().
|
private |
Definition at line 59 of file ROL_MixedCVaR.hpp.
Referenced by getGradient(), getHessVec(), initialize(), initializeMCVAR(), updateGradient(), and updateHessVec().
|
private |
Definition at line 60 of file ROL_MixedCVaR.hpp.
Referenced by computeStatistic(), getGradient(), getHessVec(), getValue(), initialize(), initializeMCVAR(), updateGradient(), updateHessVec(), and updateValue().