-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OptApp] Refactor the Optimization Problem #12589
[OptApp] Refactor the Optimization Problem #12589
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Igarizza . I would implement the followings:
OptimizationProblem::Get/Has/RemoveResponseRoutine
methods andGetListOfResonseRoutine
methodOptimizationProblem::Get/Has/RemoveMasterControl
methods andGetListOfMasterControls
method- Need to change function signatures in
OptimizationProblem
to addResponseRoutine
andMasterControl
for python hinting support
to be consistent.
applications/OptimizationApplication/python_scripts/algorithms/algorithm_steepest_descent.py
Outdated
Show resolved
Hide resolved
Done! |
applications/OptimizationApplication/python_scripts/utilities/optimization_problem.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Igarizza
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Igarizza
09b2bb0
…rout_master_contr_to_opt_problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks @Igarizza
📝 Description
Refactoring Optimization problem to avoid circular import issue. PR adds ResponseRoutine and MasterControl to the OptimizationProblem to simplifies access to their components.
Please mark the PR with appropriate tags:
🆕 Changelog
Please summarize the changes in one list to generate the changelog:
E.g.