Objective¶
-
class
pyoptsparse.pyOpt_objective.
Objective
(name, scale=1.0)[source]¶ This class holds the representation of a pyOptSparse objective.
- Parameters
- namestr
Name of this objective
- scalefloat
Scaling factor for objective. This does not change the actual optimization problem, but may be used to give a more human-meaningful value
See also
Optimization.addObj
for the full documentation