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
A list of
Adjustables
Methods
Return initial values for ASD
update_instructions
- adjustables¶
A list of
Adjustables
- get_initialization(progset, instructions)¶
Return initial values for ASD
- Parameters:
progset (
ProgramSet
) – TheProgramSet
being used for the optimizationinstructions (
ProgramInstructions
) – The initial instructions
- Return type:
- Returns:
A list of initial values, one for each adjustable