Closed BrannonKing closed 1 year ago
I'm not sure I understand your question. On the command line, you can read a .bas file using --readbas=<basfile>
. Using the API it is readBasisFile
.
readBasisFile
doesn't read the MPS format, true?
The documentation states (and I have no reason to doubt it):
Load basis from filename in MPS format. If rowNames and colNames are NULL, default names are used for the constraints and variables.
My doubt came from the MPS reader being commented out here: https://github.com/scipopt/soplex/blob/22a415c791853db4e3614873cbd923e4f1cd3cd1/src/soplex.hpp#L9403
However, I see now that the readBasis
method is implemented. I just hope it reads the whole problem and not just the basis.
It looks like the basis loader that uses MPS files is excluded from the build. What is the recommended way to load MPS files for Soplex? Is there some 3rd-party loader that is recommended?