Function Exponential(lowerbound, scale)

# Exponential

The function Exponential draws a random value from an exponential distribution.

Exponential(
lowerbound      ! (optional) numerical expression
scale           ! (optional) numerical expression
)


## Arguments

lowerbound

A scalar numerical expression.

scale

A scalar numerical expression $$> 0$$.

## Return Value

The function Exponential returns a random value drawn from a exponential distribution with lower bound lowerbound and scale scale.

Note

The prototype of this function has changed with the introduction of AIMMS 3.4. In order to run models that still use the original prototype, the option Distribution_compatibility should be set to Aimms_3_0. The original function Exponential(lambda) returns a random value drawn from a exponential distribution with rate $$lambda = 1/scale$$ and lower bound $$0$$.

The Exponential distribution is discussed in full detail in Discrete Distributions of the Language Reference.