-
Notifications
You must be signed in to change notification settings - Fork 5
Added functions to print jacobian matrix in COO to matrix market #92
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
base: develop
Are you sure you want to change the base?
Conversation
0811dd3
to
50b60fd
Compare
50b60fd
to
a159e3e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. A few minor changes are recommended for consistency.
19f2075
to
97bc6ea
Compare
…it's just for creating linear systems.
999f661
to
9c13907
Compare
After running
For example
This will generate a matrix of size |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be rebased to develop
, otherwise good to merge.
Description
This is a new feature that enables exporting
ScaleMicrogrid
examples of arbitrary size for testing.Proposed changes
The functions work as intended and the rest of the code is intact. This is a broad fix that can work for other Jacobians or COO matrices.
After running
make
, in yourbuild
directory, runFor example
This will generate a linear system with$36N-2$ variables and constraints.
Checklist
Put an
x
in the boxes that apply. You can also fill these out after creatingthe PR. If you're unsure about any of them, don't hesitate to ask. We're here
to help! This is simply a reminder of what we are going to look for before
merging your code.
-Wall -Wpedantic -Wconversion -Wextra
.Further comments
If this is a relatively large or complex change, kick off the discussion by explaining
why you chose the solution you did and what alternatives you considered, etc...