blackboxΒΆ
- blackbox(func: Callable) BlackBoxFuncBase ΒΆ
Decorator function to create a black-box objective function class instance.
- Parameters:
func (Callable) β A black-box objective function.
- Raises:
ValueError β If decision variables are not appropriately set for the input arguments to a black-box function.
- Returns:
A black-box function class instance which associates a black-box function and decision variables.
- Return type:
BlackBoxFunc