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

Implement VectorArrayOperator.apply_inverse #885

merged 3 commits into from
Mar 2, 2020


Copy link

@sdrave sdrave commented Feb 26, 2020

This PR implements VectorArrayOperator.apply_inverse via a QR decomposition of the corresponding VectorArray (using gram_schmidt).

In particular this is relevant for nonlinear least-squares ROMs without hyperreduction, in which case the projected Jacobians are VectorArrayOperators and apply_inverse is called with least_squares=True.

@sdrave sdrave added pr:new-feature Introduces a new feature algorithms labels Feb 26, 2020
@sdrave sdrave added this to the 2020.1 milestone Feb 26, 2020
@sdrave sdrave requested a review from pmli February 26, 2020 20:00
Copy link
Member Author

sdrave commented Feb 27, 2020

@renefritze, seems like a (new?) CI issue ...

Copy link

@renefritze, seems like a (new?) CI issue ...

You need to rebase on master

@sdrave sdrave force-pushed the vectorarrayoperator_apply_inverse branch from 32fa583 to dd27957 Compare February 27, 2020 07:56
Copy link

codecov bot commented Feb 27, 2020

Codecov Report

Merging #885 into master will increase coverage by 0.02%.
The diff coverage is n/a.

Copy link

@pmli pmli left a comment

Choose a reason for hiding this comment

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

Looks good to me. Are there tests for least-squares solvers?

Copy link
Member Author

sdrave commented Mar 2, 2020

@pmli, good point. I thought we had a test, but it is only for least_squares=False. Any idea, what a good test would be?

Copy link

pmli commented Mar 2, 2020

Maybe just a couple of small, well-conditioned, randomly generated examples, one overdetermined and one underdetermined? Just to see that it works when it should.

@sdrave sdrave requested a review from pmli March 2, 2020 16:03
@sdrave sdrave merged commit 7b48269 into master Mar 2, 2020
@pmli pmli deleted the vectorarrayoperator_apply_inverse branch April 2, 2020 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
pr:new-feature Introduces a new feature
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants