mixture_constraints
- pyoptex.doe.constraints.mixture_constraints(names, factors)[source]
Create the mixture constraints based on the names of the mixture factors.
Note
The number of names is the number of mixture components minus 1. The final mixture component is never explicitely specified.
E.g. if A + B + C = 1, only (‘A’, ‘B’), (‘A’, ‘C’), or (‘B’, ‘C’) is specified.
Parameters
- nameslist(str)
The names of the mixture components.
- factorslist(
Factor) The factors of the experiment.
Returns
- mixture_constraint
Col The mixture constraint.