As you proposed I used : .\glpsol.exe --mps ..\examples\magic.mps -o magic.txt but it is hard to understand the produced "magic.txt" output. Is there anyway to produce a clear and simple output by running "magic.mps" code similar to that produced by "magic.mod" code? I mean some thing similar to:
Magic sum is 34 14 5 12 3 11 4 13 6 7 16 1 10 2 9 8 15 Thanks, --- On Sat, 7/25/09, Andrew Makhorin <[email protected]> wrote: > From: Andrew Makhorin <[email protected]> > Subject: Re: [Help-glpk] .mps does not produce detailed output > To: "hussin hassen" <[email protected]> > Cc: "Help-glpk" <[email protected]> > Date: Saturday, July 25, 2009, 2:23 AM > > I converted the code "magic.mod" > into "magic.mps", but I found that > > "magic.mps" does not produce detailed output on the > command promt like > > "magic.mod" did. > > Running "magic.mps" gives only (INTEGER OPTIMAL > SOLUTION FOUND)with > > no mor details ( like objective var, variable values > ...etc.) > > So what to do to make "magic.mps" produce the solution > details ? > > You can specify '-o filename' option, in which case glpsol > writes all > solution components to 'filename'. > > _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
