-
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/restructuring 23 gradient projection #11225
Conversation
…estructuring_23_gradient_projection
…estructuring_23_gradient_projection
…estructuring_23_gradient_projection
…g_22_steepest_descent
…estructuring_23_gradient_projection
…g_23_gradient_projection
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.
Minor comments.
But please wait for #11454 before merging.
applications/OptimizationApplication/python_scripts/algorithms/algorithm_gradient_projection.py
Outdated
Show resolved
Hide resolved
applications/OptimizationApplication/python_scripts/algorithms/algorithm_gradient_projection.py
Outdated
Show resolved
Hide resolved
applications/OptimizationApplication/python_scripts/algorithms/standardized_constraint.py
Show resolved
Hide resolved
…/algorithm_gradient_projection.py Co-authored-by: Suneth Warnakulasuriya <[email protected]>
@sunethwarna thnx for the review, let me know when I can merge. thnx |
It is merged, so could you please merge master and resolve the conflicts. Then we will see what problems are there in this PR in windows compilation. |
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.
@Igarizza thanks for the work. I can confidently say that this implementation is consistent with the reference.
applications/OptimizationApplication/python_scripts/algorithms/algorithm_gradient_projection.py
Show resolved
Hide resolved
], | ||
"controls": [ | ||
{ | ||
"name": "thickness_control", |
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.
the model is solid model and thickness control should not be used.
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.
applications/OptimizationApplication/python_scripts/algorithms/algorithm_gradient_projection.py
Outdated
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.
Nice, only minor comments from my side.
applications/OptimizationApplication/python_scripts/algorithms/algorithm_gradient_projection.py
Outdated
Show resolved
Hide resolved
applications/OptimizationApplication/python_scripts/algorithms/algorithm_gradient_projection.py
Outdated
Show resolved
Hide resolved
applications/OptimizationApplication/python_scripts/algorithms/standardized_constraint.py
Outdated
Show resolved
Hide resolved
…/standardized_constraint.py Co-authored-by: Suneth Warnakulasuriya <[email protected]>
…/algorithm_gradient_projection.py Co-authored-by: Suneth Warnakulasuriya <[email protected]>
…/algorithm_gradient_projection.py Co-authored-by: Suneth Warnakulasuriya <[email protected]>
I think my suggested tabbing was wrong. You may have to check the tabbings of these. |
…g_23_gradient_projection
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
📝 Description
Brings the new implementation of the Gradient Projection, following the main point from #11150 The implementation is based on the Haftka, where the correction is added directly to the design update and not to the search direction. Line search is applied to the projected direction. Two steps length are required: one for projected direction and one for size of the correction.
🆕 Changelog