cvar(x, alpha) is the average of x over the worst 1 - alpha share of
the scenarios, the ones in which x is largest. With alpha = 0.95, it is
the average over the worst 5%. The measure is known as the conditional
value at risk. Minimizing it asks for a decision that keeps the bad
scenarios as good as possible, rather than the average one.
Arguments
- x
A random expression (see
is_random()).- alpha
A number strictly between 0 and 1. It cannot depend on a decision.