6.1.1.1.1.1. pytfa.analysis.chebyshev
¶
Variability analysis
6.1.1.1.1.1.1. Module Contents¶
6.1.1.1.1.1.1.1. Classes¶
|
Variable representing a Chebyshev radius |
6.1.1.1.1.1.1.2. Functions¶
|
|
|
Computes the chebyshev center of a problem with respect to given variables, |
|
Adds a Chebyshev radius variable and edits accordingly the selected |
|
|
|
6.1.1.1.1.1.1.3. Attributes¶
|
- pytfa.BIGM = 1000¶
- class pytfa.ChebyshevRadius(model, id_, **kwargs)¶
Bases:
pytfa.optim.variables.ModelVariable
Variable representing a Chebyshev radius
- prefix = CR_¶
- pytfa.is_inequality(constraint)¶
- pytfa.chebyshev_center(model, variables, inplace=False, big_m=BIGM, include=list(), exclude=list())¶
Computes the chebyshev center of a problem with respect to given variables, including `include’ constraints and excluding `exclude’ constraints. Warning: Only works with pyTFA variables so far
- Parameters
model –
variables –
inplace –
big_m –
- Returns
- pytfa.chebyshev_transform(model, vars, include_list=list(), exclude_list=list(), radius_id='radius', scaling_factor=1, big_m=BIGM)¶
Adds a Chebyshev radius variable and edits accordingly the selected constraints
- Parameters
model –
vars – variables with respect to which to perform the Chebyshev centering. If none is supplied, all of the variables in the equation will be considered
include_list –
exclude_list –
radius_id –
big_m –
- Returns
- pytfa.get_cons_var_classes(model, elements, type)¶
- pytfa.get_variables(model, variables)¶