ObjectiveFunction(...)
This method creates an ObjectiveFunction object.
Path
mdb.models[name].optimizationTasks[name].ObjectiveFunction
Required arguments
- name
A String specifying the objective function repository key.
- objectives
An OptimizationObjectiveArray object.
Optional arguments
- target
A SymbolicConstant specifying the target of the objective function. Possible values are MINIMIZE, MAXIMIZE, and MINIMIZE_MAXIMUM. The default value is MINIMIZE.
Return value
An ObjectiveFunction object.
Exceptions
InvalidNameError and RangeError.