|
ROL
|
Provides an interface for a convex combination of the expected value and the conditional value-at-risk. More...
#include <ROL_CVaR.hpp>
Public Member Functions | |
| CVaR (const Real prob, const Real coeff, const Ptr< PlusFunction< Real > > &pf) | |
| Constructor. | |
| CVaR (ROL::ParameterList &parlist) | |
| Constructor. | |
| void | updateValue (Objective< Real > &obj, const Vector< Real > &x, const std::vector< Real > &xstat, Real &tol) |
| void | updateGradient (Objective< Real > &obj, const Vector< Real > &x, const std::vector< Real > &xstat, Real &tol) |
| 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) |
| Real | getValue (const Vector< Real > &x, const std::vector< Real > &xstat, SampleGenerator< Real > &sampler) |
| void | getGradient (Vector< Real > &g, std::vector< Real > &gstat, const Vector< Real > &x, const std::vector< Real > &xstat, SampleGenerator< Real > &sampler) |
| 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) |
Private Member Functions | |
| void | checkInputs (void) const |
Private Attributes | |
| Ptr< PlusFunction< Real > > | plusFunction_ |
| Real | prob_ |
| Real | coeff_ |
Provides an interface for a convex combination of the expected value and the conditional value-at-risk.
The conditional value-at-risk (also called the average value-at-risk or the expected shortfall) with confidence level \(0\le \beta < 1\) is
\[ \mathcal{R}(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 \(\mathcal{R}\) 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. ROL implements this by augmenting the optimization vector \(x_0\) with the parameter \(t\), then minimizes jointly for \((x_0,t)\).
When using derivative-based optimization, the user can provide a smooth approximation of \((\cdot)_+\) using the ROL::PlusFunction class.
Definition at line 44 of file ROL_CVaR.hpp.
|
inline |
Constructor.
| [in] | prob | is the confidence level |
| [in] | coeff | is the convex combination parameter (coeff=0 corresponds to the expected value whereas coeff=1 corresponds to the conditional value-at-risk) |
| [in] | pf | is the plus function or an approximation |
Definition at line 84 of file ROL_CVaR.hpp.
References checkInputs(), coeff_, plusFunction_, and prob_.
|
inline |
Constructor.
| [in] | parlist | is a parameter list specifying inputs |
parlist should contain sublists "SOL"->"Risk Measure"->"CVaR" and within the "CVaR" sublist should have the following parameters
Definition at line 100 of file ROL_CVaR.hpp.
References checkInputs(), coeff_, plusFunction_, and prob_.
|
inlineprivate |
Definition at line 64 of file ROL_CVaR.hpp.
References coeff_, plusFunction_, prob_, and zero.
|
inline |
Definition at line 113 of file ROL_CVaR.hpp.
References coeff_, plusFunction_, and prob_.
|
inline |
Definition at line 123 of file ROL_CVaR.hpp.
References coeff_, plusFunction_, prob_, and ROL::ROL_EPSILON().
|
inline |
Definition at line 138 of file ROL_CVaR.hpp.
References coeff_, plusFunction_, prob_, and ROL::ROL_EPSILON().
|
inline |
Definition at line 162 of file ROL_CVaR.hpp.
References coeff_, and ROL::SampleGenerator< Real >::sumAll().
|
inline |
Definition at line 171 of file ROL_CVaR.hpp.
References coeff_, prob_, and ROL::SampleGenerator< Real >::sumAll().
|
inline |
Definition at line 184 of file ROL_CVaR.hpp.
References coeff_, prob_, and ROL::SampleGenerator< Real >::sumAll().
|
private |
Definition at line 46 of file ROL_CVaR.hpp.
Referenced by checkInputs(), CVaR(), CVaR(), updateGradient(), updateHessVec(), and updateValue().
|
private |
Definition at line 47 of file ROL_CVaR.hpp.
Referenced by checkInputs(), CVaR(), CVaR(), getGradient(), getHessVec(), updateGradient(), updateHessVec(), and updateValue().
|
private |
Definition at line 48 of file ROL_CVaR.hpp.
Referenced by checkInputs(), CVaR(), CVaR(), getGradient(), getHessVec(), getValue(), updateGradient(), updateHessVec(), and updateValue().