atomica.optimization.ExponentialSpendingAdjustment

class atomica.optimization.ExponentialSpendingAdjustment(prog_name, t, t_0, t_end, p1, a1, a2)[source]

Bases: Adjustment

Parametric overwrite example

This is an example of an Adjustment that uses a function of several variables to compute time-dependent spending.

Attributes

adjustables

A list of Adjustables

Methods

get_initialization

Return initial values for ASD

update_instructions

adjustables

A list of Adjustables

get_initialization(progset, instructions)

Return initial values for ASD

Parameters:
Return type:

list

Returns:

A list of initial values, one for each adjustable