-
Notifications
You must be signed in to change notification settings - Fork 557
Finish Pyomo.DoE GreyBox (ME-opt Hessian) #3740
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
39f4b09
Add absolute value to condition number
djlaky c42e093
Add log to condition number, begin hessian comp
djlaky 42e32de
Added log-condition number hessian
djlaky cbd7324
ran black
djlaky 7650075
Merge branch 'add-greybox' of https://github.com/djlaky/pyomo into ad…
djlaky 9f00f04
Compute log condition number, and use the eigenvalue method
djlaky 9f04e50
Update another test with new log-cond formalism
djlaky 621740c
Update last test with log-cond formalism
djlaky 06246fe
Fixing initialization for condition number to be log
djlaky 15abd5d
Fix jacobian formula for log condition number
djlaky 459a5d9
Fix finite difference calculation to be log, add hessian test for log…
djlaky 941e49a
ran black
djlaky 524a42e
Update pyomo/contrib/doe/grey_box_utilities.py
djlaky da9aa51
Merge branch 'add-greybox' of https://github.com/djlaky/pyomo into ad…
djlaky 4429592
Changing A-optimality to test new hessian
djlaky 8b7287e
Fixing the other optimality criteria hessians
djlaky a6aff8e
ran black
djlaky b3f3aa9
Cleaned comments up to be accurate in tests
djlaky 074fb61
Fix indexing issue
djlaky ab79164
Fix hessian computation for FD
djlaky d709de8
Remove print statements
djlaky 87491a7
ran black
djlaky 6d52632
Housekeeping, remove old stuff
djlaky d080660
more descriptive explanations
djlaky c8e8c0a
Update hessian commenting
djlaky b6a0c2e
Remove input from old testing functions
djlaky 769a1ba
Increasing Hessian description verbosity in comments
djlaky 7ff2861
remove old print statement
djlaky c74f011
Improving verbosity and descriptions in comments
djlaky ac6ec63
More grammar updates
djlaky bedd648
Merge branch 'main' into add-greybox
blnicho c4d9c9e
Update pyomo/contrib/doe/grey_box_utilities.py
djlaky 63bb700
Merge branch 'main' into add-greybox
blnicho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Are you going to cause any confusion with users by returning the log of the condition number and not the condition number directly? Should
ObjectiveLib.condition_number
be replaced withObjectiveLib.log_condition_number
?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 answer is maybe. The
determinant
option also returns the log of the determinant for scaling purposes, so I think this will not come as too much of a surprise.I will make sure that this is clear when the documentation is added.