iwopy.wrappers.SimpleObjective(problem, name='f', n_components=1, maximize=False, 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

maximize: bool or list of bool

For each component, the maximization goal

cnames: list of str, optional

The names of the components

has_ana_derivs = bool

Flag for analytical derivatives