ConstrainedFunction
Module: opytimizer.functions.constrained
A ConstrainedFunction class used to hold constrained single-objective functions.
Constructor
ConstrainedFunction(pointer: List[<built-in function callable>], constraints: List[<built-in function callable>], penalty: float = 0.0) -> None
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
pointer | List[<built-in function callable>] | — | |
constraints | List[<built-in function callable>] | — | |
penalty | float | 0.0 | — |