[Depends on #3991] Adding method for multistart initialization of nonlinear models. - #3994
[Depends on #3991] Adding method for multistart initialization of nonlinear models.#3994stephenscini wants to merge 57 commits into
Conversation
|
Opening PR, but still in active development. Dependent on #3991 first as it includes those changes. |
|
Note for 7/21 Dev meeting Method implemented with support for new solver interface. All original tests passing locally. Tasks before ready for review:
|
stephenscini
left a comment
There was a problem hiding this comment.
Went through and added some questions in the code for design meeting.
| from pyomo.core.expr.compare import assertExpressionsEqual | ||
| from pyomo.core.expr.numeric_expr import LinearExpression | ||
|
|
||
| from pyomo.contrib.multistart.multi import MultiStart |
There was a problem hiding this comment.
I received an error message when I added the solver to the new SolverFactory that it needed to be in this list. This would mean it is tested with the other solvers from contrib/solver and I am not sure that if that is expected? If so, will all contrib solvers need to eventually be switched over or should the opt/solvers still be the best location.
In this case, I wanted to update it to use these solvers so thought it would also go here. Maybe Legacy?
| visibility=visibility, | ||
| ) | ||
|
|
||
| self.strategy = self.declare( |
There was a problem hiding this comment.
Could/should this also support a user supplying a list of initial points? Thinking of obj_at_theta in parmest. Goal in my head is to make as generalized as possible.
|
Had discussion with Bethany and Michael. Main takeaway points:
|
Fixes # .
Summary/Motivation:
Additional method in devel/initialization to use multistart optimization as a way for initializing nonliner models.
Changes proposed in this PR:
AI-Use Disclosure
AI tools contributed to the development of this PR
Review process (select ONE):
Notes for reviewers (optional):
Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: