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

Added indication of fixed variables to linkage report. #662

Merged
merged 8 commits into from
Oct 26, 2021

Conversation

robfalck
Copy link
Contributor

Summary

Adds an indicator to the linkage report that shows when a variable on either side of the linkage is fixed. Linkages with a fixed variable on both sides are likely to have trouble converging.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

A fixed quantity on both sides of a linkage will likely cause problems with optimization.

Removed save_for_docs macro that's no longer needed with JupyterBook, and removed its containing file utils.doc_utils.py.
…ng in them being reported as fixed when they were not. Now specify that starred linkages may be fixed OR inputs. The latter case is not fatal but may need attention.
@@ -118,7 +118,7 @@ def test_optimizer_defects(self):
assert_near_equal(soc1b[-1], 0.0281523, 1e-6)
assert_near_equal(soc1m[-1], 0.18625395, 1e-6)

def test_solver_defects(self):
def jtest_solver_defects(self):
Copy link
Member

Choose a reason for hiding this comment

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

Was this intentional? (commenting out the test?) Might be leftover debug.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 95.547% when pulling 8e845eb on robfalck:linkage_viz into 936b838 on OpenMDAO:master.

@robfalck robfalck merged commit 7530a39 into OpenMDAO:master Oct 26, 2021
@robfalck robfalck deleted the linkage_viz branch November 2, 2021 14:31
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.

Include information about fixed quantities in linkage report
3 participants