help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] .mps does not produce detailed output


From: hussin hassen
Subject: Re: [Help-glpk] .mps does not produce detailed output
Date: Sat, 25 Jul 2009 05:28:36 -0700 (PDT)

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 <address@hidden> wrote:

> From: Andrew Makhorin <address@hidden>
> Subject: Re: [Help-glpk] .mps does not produce detailed output
> To: "hussin hassen" <address@hidden>
> Cc: "Help-glpk" <address@hidden>
> 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'.
> 
> 


      




reply via email to

[Prev in Thread] Current Thread [Next in Thread]