help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] un reduced filed


From: Kevin Hunter
Subject: [Help-glpk] un reduced filed
Date: Sat, 06 Nov 2010 14:56:47 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

Hullo GLPK List,

I've created another egregiously bad LP file, that I was hoping GLPK could pare down better. For the most, it does, removing (byte-wise) about 120 MiB from the LP file. However, I'm still seeing some redundant or unusable terms. I'd expect for it to remove terms like these:

  + 0 x[3]

For reference, here's how I created the GLPK version of the LP file:

$ glpsol --version | head -1
GLPSOL: GLPK LP/MIP Solver, v4.43

$ glpsol --lp large_file.lp --wlp smaller_file.lp

$ ll large_file.lp smaller_file.lp
-rw-r--r-- 1 kevin kevin 294M 2010-11-06 14:20 large_file.lp
-rw-r--r-- 1 kevin kevin 172M 2010-11-06 14:24 smaller_file.lp

Am I incorrect in thinking that no matter where it is, a term multiplied by 0 is effectively useless information? It is perhaps of note that I only see any +0 terms in the objective function.

Thanks,

Kevin



reply via email to

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