-
Notifications
You must be signed in to change notification settings - Fork 526
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
Enable creating of NL files with binary data #177
Comments
I think this is a good spot to attach the scripts I used to generate lower bounds on file-based model output. The "fast MPS writer" is written in C and interfaced with Python using the cffi module. To build the interface run the file By tweaking the fast MPS implementation (explained in the comments in that file), I came up with the following timing results for a large linear system:
Thus, I predict that a binary NL writer (designed for a flattened LP Pyomo representation), could potentially be 50-80x faster than our current writers. It wouldn't be that different from the MPS writer, as linear constraints are expressed in a sparse matrix format in the "J" section of NL files. These numbers were generated by testing a random sparse linear system with the following characteristics:
Attached Python files have a |
Dear developers, when we can expect to have feature of writing binary NL-file by Pyomo? |
There is currently no estimated date for the availability of this feature. It is on the list of things that we would all like to have, but to my knowledge, no one is currently working on it. PRs are always welcome. |
Archived on the master Performance Proposals Issue (#1430). Closing this performance proposal until active development has begun. |
This should provide a significant speed enhancement.
The text was updated successfully, but these errors were encountered: