Repository navigation
Conversation
|
@djlaky @adowling2 Please provide early feedback. |
|
Dynamic saving using flush, add. |
adowling2
left a comment
There was a problem hiding this comment.
Notes from our in-person discussion/informal code review
|
Extend existing tests for parmest to include multistart, add. |
|
Models provided need to include bounds, add exception |
adowling2
left a comment
There was a problem hiding this comment.
Here are some more comments for you to consider are you continue to refine this.
Similar failures when I merged main into #4039. |
|
Thank you for detailed comments @slilonfe5! I believe my changes address them all. |
|
@sscini - There is no re-run that will fix this... New z3-solver version released yesterday, yay. |
Okay, fix is in main. I just merged it here. |
|
@sscini , @stephenscini (whichever account you see first...) - We are trying to get a release out this week and would like to include this, if possible. Would you be able to address @smondal13 's comments? |
Hi Miranda @mrmundt! Yes I am working to get through comments on my PRs by EOD tomorrow. Thank you for prioritizing and I will tag once comments are addressed. |
|
@mrmundt Shuvo's comments have been addressed. Please review when you have a chance. Thank you |
Conflict in pyomo/contrib/parmest/parmest.py, _sample_initial_theta (2 hunks). Resolved as the union of both sides: - keep Pyomo#3575's argument names (n_starts, lower_bounds, upper_bounds); - keep the sensitivity branch's lhs_optimization keyword and its pass-through to scipy.stats.qmc.LatinHypercube(..., optimization=lhs_optimization); - use samples = sampler.random(n=n_starts). No caller changes were needed: sensitivity_prcc passes the renamed arguments positionally, and lhs_optimization by keyword. No expected test values changed. Checked on an identical evaluation merge: the parmest component tests give 228 passed, 4 failed (the same k_aug x3 and semibatch scenario failures as the pin), 14 skipped. Record: parmest-tutor-private docs/decisions/2026-11-23-phase5-evaluation-candidate.md. Merged locally by the ParmEst Tutor overnight run (plan section 13), not pushed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| ) | ||
|
|
||
|
|
||
| _LINEAR_DATA = [(1.0, 2.0), (2.0, 3.0)] |
There was a problem hiding this comment.
Perhaps add a comment about where this is used. My guess is that it is used in a later example, but it is good to be explicit with a "global" variable (in the informal sense)
There was a problem hiding this comment.
Where is LinearThetaExperiment defined or imported? Perhaps move this line next to it.
| (uniform_random). | ||
| user_supplied_vals: dict or pd.DataFrame, optional | ||
| Starting values keyed by theta name, e.g., | ||
| ``{"asymptote": [10, 20], "rate_constant": [0.1, 0.5]}``. |
There was a problem hiding this comment.
This makes sense as a user interface for me. It does rely on strings, which is not perfect. But I do not have a good recommendation to get around it.
Fixes # .
Summary/Motivation:
Currently, the optimization is only done from a single initial value. This implementation adds the ability to specify multiple initial values using selected sampling techniques: from a random uniform distribution, using Latin Hypercube Sampling, or using Sobol Quasi-Monte Carlo sampling.
Changes proposed in this PR:
TODO before converting from draft:
AI-Use Disclosure
or
AI tools contributed to the development of this PR
Review process (select ONE):
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: