Hello 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 prem swaroop wrote: > > Team > > 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 > [email protected] > http://lists.gnu.org/mailman/listinfo/help-glpk > > -- View this message in context: http://www.nabble.com/Basis-read-write-tp26047236p26055078.html Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
