CADETProcess.parameter_space.chebyshev_center

CADETProcess.parameter_space.chebyshev_center#

CADETProcess.parameter_space.chebyshev_center(space: ParameterSpace) dict[str, float | int][source]#

Compute the Chebyshev center of the independent-variable polytope.

Returns an independent-variable named assignment in physical units, typed and snapped the same way as SamplerBase.sample() (int for integer parameters, significant-digits rounding where declared).

Linear inequality constraints referencing dependent parameters cannot be part of the polytope (dependencies are arbitrary callables); they are dropped with a warning and the center of the relaxed polytope is verified against them a posteriori.

Raises:
ValueError

If the space contains categorical parameters (a center is undefined for them), if any independent parameter is unbounded, if a linear equality constraint references a dependent parameter (a dropped equality can never survive a point check), or if the relaxed center violates a dropped inequality constraint.