atomica.optimization.PairedLinearSpendingAdjustment

class atomica.optimization.PairedLinearSpendingAdjustment(prog_names, t)[source]

Bases: Adjustment

Parametric overwrite with multiple programs

This example Adjustment demonstrates a parametric time-varying budget reaching more than one program. A single adjustable corresponding to the rate of change simultaneously acts on two programs in opposite directions

Attributes

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