ENH: added a general framework for normalization and setting targets
for all objective functions. - The normalization is useful for practically all update methods dealing with constraints (e.g. SQP, MMA). The normalization factor can be either given explicitly or, if not given, will be the value of the objective function in the first optimisation cycle. - The target value is useful when using the objective as a constraint in constrained optimisation problems (e.g. drag - dragTarget). It should only be used with update methods that understand the value of the constraint (e.g. SQP, MMA) but not when the objective in hand is the only objective of the optimisation problem. In such a case, a squared objective should be used (e.g. sqr(drag - dragTarget))
Showing
- src/optimisation/adjointOptimisation/adjoint/objectiveManager/objectiveManager/objectiveManager.C 5 additions, 1 deletion...oint/objectiveManager/objectiveManager/objectiveManager.C
- src/optimisation/adjointOptimisation/adjoint/objectives/incompressible/objectiveIncompressible/objectiveIncompressible.C 64 additions, 0 deletions...essible/objectiveIncompressible/objectiveIncompressible.C
- src/optimisation/adjointOptimisation/adjoint/objectives/incompressible/objectiveIncompressible/objectiveIncompressible.H 3 additions, 0 deletions...essible/objectiveIncompressible/objectiveIncompressible.H
- src/optimisation/adjointOptimisation/adjoint/objectives/incompressible/objectivePtLosses/objectivePtLosses.C 2 additions, 0 deletions...ives/incompressible/objectivePtLosses/objectivePtLosses.C
- src/optimisation/adjointOptimisation/adjoint/objectives/incompressible/objectivePtLosses/objectivePtLosses.H 2 additions, 0 deletions...ives/incompressible/objectivePtLosses/objectivePtLosses.H
- src/optimisation/adjointOptimisation/adjoint/objectives/objective/objective.C 91 additions, 1 deletion...ointOptimisation/adjoint/objectives/objective/objective.C
- src/optimisation/adjointOptimisation/adjoint/objectives/objective/objective.H 19 additions, 3 deletions...ointOptimisation/adjoint/objectives/objective/objective.H