|
ROL
|
Provides an interface for the mean plus a sum of arbitrary order variances from targets. More...
#include <ROL_MeanVarianceFromTarget.hpp>
Public Member Functions | |
| MeanVarianceFromTarget (const Real target, const Real order, const Real coeff, const ROL::Ptr< PositiveFunction< Real > > &pf) | |
| Constructor. | |
| MeanVarianceFromTarget (const std::vector< Real > &target, const std::vector< Real > &order, const std::vector< Real > &coeff, const ROL::Ptr< PositiveFunction< Real > > &pf) | |
| Constructor. | |
| MeanVarianceFromTarget (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) |
Private Types | |
| typedef std::vector< Real >::size_type | uint |
Private Member Functions | |
| void | checkInputs (void) const |
Private Attributes | |
| ROL::Ptr< PositiveFunction< Real > > | positiveFunction_ |
| std::vector< Real > | target_ |
| std::vector< Real > | order_ |
| std::vector< Real > | coeff_ |
| uint | NumMoments_ |
Provides an interface for the mean plus a sum of arbitrary order variances from targets.
The mean plus variances from targets risk measure is
\[ \mathcal{R}(X) = \mathbb{E}[X] + \sum_{k=1}^n c_k \mathbb{E}[\wp(X-t_k)^{p_k}] \]
where \(\wp:\mathbb{R}\to[0,\infty)\) is either the absolute value or \((x)_+ = \max\{0,x\}\), \(c_k > 0\) and \(p_k\in\mathbb{N}\). \(\mathcal{R}\) is law-invariant, but not coherent since it violates positive homogeneity and translation equivariance.
When using derivative-based optimization, the user can provide a smooth approximation of \((\cdot)_+\) using the ROL::PositiveFunction class.
Definition at line 43 of file ROL_MeanVarianceFromTarget.hpp.
|
private |
Definition at line 44 of file ROL_MeanVarianceFromTarget.hpp.
|
inline |
Constructor.
| [in] | target | is the scalar target |
| [in] | order | is the variance order |
| [in] | coeff | is the weight for variance term |
| [in] | pf | is the plus function or an approximation |
This constructor produces a mean plus variance from target risk measure with a single variance.
Definition at line 92 of file ROL_MeanVarianceFromTarget.hpp.
References checkInputs(), coeff_, NumMoments_, order_, positiveFunction_, and target_.
|
inline |
Constructor.
| [in] | target | is a vector of targets |
| [in] | order | is a vector of variance orders |
| [in] | coeff | is a vector of weights for the variance terms |
| [in] | pf | is the plus function or an approximation |
This constructor produces a mean plus variance from target risk measure with an arbitrary number of variances.
Definition at line 112 of file ROL_MeanVarianceFromTarget.hpp.
References checkInputs(), coeff_, NumMoments_, order_, positiveFunction_, and target_.
|
inline |
Constructor.
| [in] | parlist | is a parameter list specifying inputs |
parlist should contain sublists "SOL"->"Risk Measure"->"Mean Plus Variance From Target" and within the "Mean Plus Variance From Target" sublist should have the following parameters
Definition at line 143 of file ROL_MeanVarianceFromTarget.hpp.
References checkInputs(), coeff_, NumMoments_, order_, positiveFunction_, and target_.
|
inlineprivate |
Definition at line 66 of file ROL_MeanVarianceFromTarget.hpp.
References coeff_, order_, positiveFunction_, and zero.
Referenced by MeanVarianceFromTarget(), MeanVarianceFromTarget(), and MeanVarianceFromTarget().
|
inline |
Definition at line 169 of file ROL_MeanVarianceFromTarget.hpp.
References coeff_, NumMoments_, order_, positiveFunction_, and target_.
|
inline |
Definition at line 183 of file ROL_MeanVarianceFromTarget.hpp.
References coeff_, NumMoments_, order_, positiveFunction_, and target_.
|
inline |
Definition at line 199 of file ROL_MeanVarianceFromTarget.hpp.
References coeff_, NumMoments_, order_, positiveFunction_, and target_.
|
private |
Definition at line 46 of file ROL_MeanVarianceFromTarget.hpp.
Referenced by checkInputs(), MeanVarianceFromTarget(), MeanVarianceFromTarget(), MeanVarianceFromTarget(), updateGradient(), updateHessVec(), and updateValue().
|
private |
Definition at line 47 of file ROL_MeanVarianceFromTarget.hpp.
Referenced by MeanVarianceFromTarget(), MeanVarianceFromTarget(), MeanVarianceFromTarget(), updateGradient(), updateHessVec(), and updateValue().
|
private |
Definition at line 48 of file ROL_MeanVarianceFromTarget.hpp.
Referenced by checkInputs(), MeanVarianceFromTarget(), MeanVarianceFromTarget(), MeanVarianceFromTarget(), updateGradient(), updateHessVec(), and updateValue().
|
private |
Definition at line 49 of file ROL_MeanVarianceFromTarget.hpp.
Referenced by checkInputs(), MeanVarianceFromTarget(), MeanVarianceFromTarget(), MeanVarianceFromTarget(), updateGradient(), updateHessVec(), and updateValue().
|
private |
Definition at line 50 of file ROL_MeanVarianceFromTarget.hpp.
Referenced by MeanVarianceFromTarget(), MeanVarianceFromTarget(), MeanVarianceFromTarget(), updateGradient(), updateHessVec(), and updateValue().