Skip to content
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

Merged
merged 9 commits into from
Aug 29, 2024

Conversation

Igarizza
Copy link
Member

📝 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:

  • Api Breaker, Mpi, etc...

🆕 Changelog
Please summarize the changes in one list to generate the changelog:
E.g.

  • Added feature X to Y
  • Added Foo Application
  • Fixed X (#XXXX Reference to issue if apply)
  • etc...

Copy link
Member

@sunethwarna sunethwarna left a 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 and GetListOfResonseRoutine method
  • OptimizationProblem::Get/Has/RemoveMasterControl methods and GetListOfMasterControls method
  • Need to change function signatures in OptimizationProblem to add ResponseRoutine and MasterControl for python hinting support

to be consistent.

@Igarizza
Copy link
Member Author

Thanks @Igarizza . I would implement the followings:

* `OptimizationProblem::Get/Has/RemoveResponseRoutine` methods and `GetListOfResonseRoutine` method

* `OptimizationProblem::Get/Has/RemoveMasterControl` methods and `GetListOfMasterControls` method

* Need to change function signatures in `OptimizationProblem` to add `ResponseRoutine` and `MasterControl` for python hinting support

to be consistent.

Done!

sunethwarna
sunethwarna previously approved these changes Aug 4, 2024
Copy link
Member

@sunethwarna sunethwarna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Igarizza

talhah-ansari
talhah-ansari previously approved these changes Aug 15, 2024
Copy link
Contributor

@talhah-ansari talhah-ansari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Igarizza

@Igarizza Igarizza dismissed stale reviews from talhah-ansari and sunethwarna via 09b2bb0 August 16, 2024 10:06
sunethwarna
sunethwarna previously approved these changes Aug 16, 2024
@Igarizza Igarizza enabled auto-merge (squash) August 16, 2024 10:14
Copy link
Contributor

@talhah-ansari talhah-ansari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks @Igarizza

@Igarizza Igarizza merged commit 1499285 into master Aug 29, 2024
9 of 11 checks passed
@Igarizza Igarizza deleted the optapp/adding_resp_rout_master_contr_to_opt_problem branch August 29, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants