mpcrl.core.schedulers.ExponentialScheduler#
- class mpcrl.core.schedulers.ExponentialScheduler(init_value, factor)[source]#
Bases:
Scheduler[ScType]Exponentially decay scheduler.
It exponentially decays the value of the scheduler by
factorevery step, i.e., mathematically, at the \(k\)-th step, the value \(v_k\) is\[v_k = v_0 f^k,\]where \(v_0\) is the initial value and \(f\) is the
factor.- Parameters:
- init_valuesupports-algebraic-operations
Initial value that will be updated by this scheduler.
- factorsupports-algebraic-operations
The exponential factor to decay the initial value with.
Methods
step()Updates the value of the scheduler by one step.