MultilinearConfig¶
- class flexops.surrogates.multilinear.MultilinearConfig(*, input_variables: dict[str, str], output_variables: dict[str, str], terms: list[str])¶
A multilinear surrogate’s config: its variables and its product terms.
Each term is a
*-separated product of distinct input names, e.g."flow_out*outlet_state.pressure". Each input appears at most once per term and carries no exponent; that is what makes the form multi-linear rather than polynomial.- model_config = {'extra': 'forbid', 'frozen': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].