Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Equality-constrained least-squares solver #1046

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

Open
loiseaujc wants to merge 12 commits into fortran-lang:master
base: master
Choose a base branch
Loading
from loiseaujc:1044-constrained-least-squares-solver

Conversation

@loiseaujc
Copy link
Contributor

@loiseaujc loiseaujc commented Oct 22, 2025
edited
Loading

Following #1044, this PR implements an equality-constrained least-squares solver based on xGGLSE from lapack.

Proposed interfaces

  • call solve_constrained_lstsq(A, b, C, d, x [, storage, overwrite_matrices, err])
  • x = constrained_lstsq(A, b, C, d [, overwrite_matrices, err])

where A and b define the least-squares cost, while Cx = d define the equality constraints.

Progress

  • Interface
  • Base implementation
  • Tests
  • In-code documentation
  • Specifications
  • Example

Ping: @perazz, @jvdp1, @jalvesz

@loiseaujc loiseaujc linked an issue Oct 23, 2025 that may be closed by this pull request
@loiseaujc loiseaujc marked this pull request as ready for review October 23, 2025 15:17
Copy link
Contributor Author

Unless I forgot something, I think this PR is ready to be reviewed :)

jalvesz reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Constrained least-squares solver

1 participant

AltStyle によって変換されたページ (->オリジナル) /