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

Adding support for new PIPG-based QP solver in Lava #105

Merged
merged 31 commits into from
Oct 27, 2022

Conversation

ashishrao7
Copy link
Collaborator

Issue Number: #104

Objective of pull request: Adding support for new PIPG-based QP solver in Lava

Pull request checklist

Your PR fulfills the following requirements:

  • Issue created that explains the change and why it's needed
  • Tests are part of the PR (for bug fixes / features)
  • Docs reviewed and added / updated if needed (for bug fixes / features)
  • PR conforms to Coding Conventions
  • PR applys BSD 3-clause or LGPL2.1+ Licenses to all code files
  • Lint (pyb) passes locally
  • Build tests (pyb -E unit) or (python -m unittest) passes locally
    Tests in main that do not correspond to the tests in this PR fail

Pull request type

Please check your PR type:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation changes
  • Other (please describe):

What is the current behavior?

What is the new behavior?

  • Added processes for new qp solver
  • Added floating point model of new qp solver
  • Refactored redundant connection processes to one local connection process required for the solver

Process interfaces here are also used for the hardware QP solver.

Does this introduce a breaking change?

  • Yes
  • No

Supplemental information

ashishrao7 and others added 30 commits November 15, 2021 19:16
… changes to tests. Removed hardcoded preconditioning from solver.py
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
1. Added new pipg solver process interface and process models
(updated tests)
2. Refactored older local connectivity processes for solver into
one local connectivity process
3. Updated license information in all files

Linted with black -l 79
@ashishrao7 ashishrao7 added the 1-feature New feature or request label Oct 27, 2022
@ashishrao7 ashishrao7 self-assigned this Oct 27, 2022
Copy link
Collaborator

@GaboFGuerra GaboFGuerra left a comment

Choose a reason for hiding this comment

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

Thanks Ashish, great job!
A few methods are too long indicating they do more than one thing and method extraction can be performed. Otherwise, nice implementation.

@GaboFGuerra GaboFGuerra merged commit 80929f0 into lava-nc:main Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants