Objective#

pydantic model optimas.core.Objective(name='f', minimize=True, dtype=<class 'float'>)#

Defines an optimization objective.

Parameters:
namestr, optional

Name of the objective. By default 'f'.

minimizebool, optional

Indicates whether the objective should be minimized or, otherwise, maximized. By default, True.

dtypedata-type

The data type of the parameter. Any object that can be converted to a numpy dtype.