-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add degenerate row check to factorize linear constraints (#1300)
Resolves #1297 Though what I found is that having degenerate constraints (like fixing [0,0,0] of Rb_mn with FixBoundaryR while also fixing that mode + others with another FixBoundaryR constraint) is only an issue when doing `lsq-auglag` and `lsq-exact` (when ForceBalance is not a constraint), not for `proximal-lsq-exact`... basically for when we aren't removing the eq DOFs from the system to solve. I did not dig into the real root but just found that removing the degenerate rows of the constraint matrix `A` worked to fix it, probably something to do with how the particular solution is assigned when there are degenerate rows @YigitElma there is likely a better fix than the one I chose which was simply to remove degenerate rows before we get into the while loop which finds the simple constraints and adjusts A,b accordingly, if you want feel free to make changes here
- Loading branch information
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters