Skip to content

Conversation

@sdrave
Copy link
Member

@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
@sdrave
Copy link
Member Author

sdrave commented Feb 27, 2020

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

@renefritze
Copy link
Member

@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
@codecov
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
Member

@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?

@sdrave
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?

@pmli
Copy link
Member

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

Labels

pr:new-feature Introduces a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants