add_variation#
- SetupOpti.add_variation(variable_name, min_value, max_value, starting_point=None, min_step=None, max_step=None, use_manufacturable=False, levels=None)#
Add a new variable as input for the optimization and defines its ranges.
- Parameters:
- variable_name
str
Name of the variable.
- min_value
float
Minimum Optimization Value for variable_name.
- max_value
float
Maximum Optimization Value for variable_name.
- starting_point
float
,optional
Starting point for optimization. If None, default will be used.
- min_step
float
Minimum Step Size for optimization. If None, 1/100 of the range will be used.
- max_step
float
Maximum Step Size for optimization. If None, 1/10 of the range will be used.
- use_manufacturablebool
Either if to use or not the Manufacturable values. Default is False.
- levels
list
,optional
List of available manufacturer levels.
- variable_name
- Returns: