[Pyomo.DoE] Add simultaneous design of multiple experiments#3866
Open
smondal13 wants to merge 154 commits intoPyomo:mainfrom
Open
[Pyomo.DoE] Add simultaneous design of multiple experiments#3866smondal13 wants to merge 154 commits intoPyomo:mainfrom
smondal13 wants to merge 154 commits intoPyomo:mainfrom
Conversation
…`experiment` argument is provided.
…d replace `self.experiment` with `self.experiment_list[0]`. `doe/reactor_example.py` runs successfully.
…sing the `doe/reactor_multi_experiment.py`
…ultiexperiment.py` both for 3 experiments
…etric-uncertainty
…parametric-uncertainty
…nt for `optimize_experiments()` and `compute_FIM()`
… both of sensitivity and optimize_experiments()
…A-opt gave different result for grid and optimization
…ine access in tests
Add Greybox to multiexperiment
…name result payload field
smondal13
commented
Mar 30, 2026
| @@ -0,0 +1,206 @@ | |||
| #### NO NEED TO CHECK THIS SCRIPT. THIS IS FOR ME TO UNDERSTAND THE RESULT AND WILL BE DELETED LATER. | |||
Contributor
Author
There was a problem hiding this comment.
NO NEED TO REVIEW THIS SCRIPT
smondal13
commented
May 6, 2026
| import json | ||
| import logging | ||
| import math | ||
| import time | ||
| import warnings | ||
|
|
||
| from pyomo.common.dependencies import ( |
Contributor
Author
There was a problem hiding this comment.
@blnicho , I think the current imports will have deferred imports, right? I have removed the if scipy_availble: statement and moved those imports inside the method
Contributor
Author
|
@adowling2 @slilonfe5 I have removed the @blnicho, considering the May 15 release, we have decided to remove the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes # .
Summary/Motivation:
This PR adds a new
DesignOfExperiments.optimize_experiments()API inpyomo/contrib/doe/doe.pyto support simultaneous optimization of multiple experiments in one workflow. The motivation is to provide a multi-experiment DoE interface with stronger initialization options, clearer mode handling (template vs. user-initialized experiments), and richer diagnostics/results than the existing single-experiment path.Changes proposed in this PR:
optimize_experiments()for multi-experiment DoE optimization.n_exp.n_expis inferred/validated.initialization_method="lhs") with controls for:sym_break_conssuffix,run_info._DoEResultsJSONEncoderfor numpy/Pyomo-enum values when writingresults_file.Note:
documentation.mdwhich describes the API. This documentation is to help the reviewers to understand the API and will not be merged intoPyomo:mainLegal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: