|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Basis read/writeTeam
There #39;s a couple of features documented in 4.34 in the stand-alone solver section (Appendix D): (Options specific to simplex method) --bas filename read initial basis from filename in MPS format --wbas filename write nal basis to filename in MPS format Both are missing from the glpsol that I built on cygwin/Windows Vista, for versions 4.34 as well as 4.39. Now, documentation for 4.39 does NOT mention these features - so that #39;s at least consistent. I suspect this feature existed earlier on. I think this could be a useful feature to keep, and I can quote my case here. I am essentially solving a large-ish LP whose parameters are generated by incrementing one parameter value. And so, I dont expect too many changes in the solution for a large part of my increments, and hence using a final basis for one solution as an initial basis for the next could save a lot in time. Regards Prem Team There's a couple of features documented in 4.34 in the stand-alone solver section (Appendix D): (Options specific to simplex method) --bas filename read initial basis from filename in MPS format --wbas filename write nal basis to filename in MPS format Both are missing from the glpsol that I built on cygwin/Windows Vista, for versions 4.34 as well as 4.39. Now, documentation for 4.39 does NOT mention these features - so that's at least consistent. I suspect this feature existed earlier on. I think this could be a useful feature to keep, and I can quote my case here. I am essentially solving a large-ish LP whose parameters are generated by incrementing one parameter value. And so, I dont expect too many changes in the solution for a large part of my increments, and hence using a final basis for one solution as an initial basis for the next could save a lot in time. Regards Prem _______________________________________________ Help-glpk mailing list Help-glpk@... http://lists.gnu.org/mailman/listinfo/help-glpk |
|
|
|
|
|
Re: Basis read/writeHello Prem
reading the basis in MPS format is implemented in the stand alone solver of GLPK 4.26 in file glplpx20.c. You can download it at ftp://ftp.gnu.org/gnu/glpk/glpk-4.26.tar.gz Best regards Xypron
|
|
|
Re: Basis read/write> There #39;s a couple of features documented in 4.34 in the
> stand-alone solver section (Appendix D): > (Options specific to simplex method) > --bas filename read initial basis from filename in MPS format > --wbas filename write nal basis to filename in MPS format > Both are missing from the glpsol that I built on cygwin/Windows > Vista, for versions 4.34 as well as 4.39. > Now, documentation for 4.39 does NOT mention these features - so that > #39;s at least consistent. > I suspect this feature existed earlier on. I think this could be a > useful feature to keep, and I can quote my case here. > I am essentially solving a large-ish LP whose parameters are > generated by incrementing one parameter value. And so, I dont expect > too many changes in the solution for a large part of my increments, > and hence using a final basis for one solution as an initial basis for > the next could save a lot in time. Options --bas and --wbas were temporarily removed from glpsol, since they supported only fixed mps format. This made them useless in most cases due to limitation of row/column name length to 8 chars (in mathprog models the names produced by the translator are, as a rule, longer). _______________________________________________ Help-glpk mailing list Help-glpk@... http://lists.gnu.org/mailman/listinfo/help-glpk |
| Free embeddable forum powered by Nabble | Forum Help |