-
iwopy.wrappers.SimpleConstraint(problem, name, n_components=
1, mins=-inf, maxs=0.0, cnames=None, has_ana_derivs=True)[source] Constructor
ParametersΒΆ
- problem: iwopy.Problem
The underlying optimization problem
- name: str
The function name
- n_components: int
The number of components
- mins: float or array
The minimal values of components, shape: (n_components,)
- maxs: float or array
The maximal values of components, shape: (n_components,)
- cnames: list of str, optional
The names of the components
- has_ana_derivs = bool
Flag for analytical derivatives