SolverConfig

class flexparameterize.config.SolverConfig(*, name: str = 'ipopt', options: dict[str, float | int | str]=<factory>)

The solver handed to the optimize function.

model_config = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].