bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] Re: [Help-glpk] GLPSOL Runtime Error


From: Andrew Makhorin
Subject: [Bug-glpk] Re: [Help-glpk] GLPSOL Runtime Error
Date: Mon, 23 Aug 2010 17:10:44 +0400

> The command line I used is
> call "G:\(....)\glpsol.exe" --model "G:\(....)\model.mod" --data 
> "G:\(....)\data2.dat"

> I omitted the complete path, let me know if that's an issue.

> I've attached the mod and dat files for which I get this error.
> Running the MIP with a different dat file (which is a subset of the
> one I've attached) works fine.

> Please let me know if you have any updated about this. My contract
> will be finishing in about a week and I'd like to have a solution to
> this by then. Is this doable?

Most likely an error in the mip preprocessor happens because your mip
instance is badly scaled (amax/amin ~= 1e6). Please note, however, that
the lp relaxation of your instance has no feasible solution:

$ glpsol.exe -m model.mod -d data2.dat --nomip --noscale --nopresol
GLPSOL: GLPK LP/MIP Solver, v4.44
Parameter(s) specified in the command line:
 -m model.mod -d data2.dat --nomip --noscale --nopresol
Reading model section from model.mod...
model.mod:100: warning: unexpected end of file; missing end statement inserted
100 lines were read
Reading data section from data2.dat...
data2.dat:2788: warning: unexpected end of file; missing end statement inserted
2788 lines were read
Generating Opt_fun...
Generating PORTDIFF1...
Generating PORTDIFF2...
Generating MODDURRabs1...
Generating MODDURRabs2...
Generating MODDURRband...
Generating SECband1...
Generating SECband2...
Generating var5...
Generating totcostconst...
Generating price_impact_advantage...
Generating yield_advantage...
Generating SectExpU...
Generating SectExpL...
Generating Bin_d1...
Generating Bin_d2...
Generating NonNeg1...
Generating FullInv...
Generating var1...
Generating var2...
Generating var3...
Generating var4...
Generating var6...
Generating var7...
Generating var8...
Generating var9...
Generating var10...
Model has been successfully generated
Constructing initial basis...
Size of triangular part = 1808
GLPK Simplex Optimizer, v4.44
1808 rows, 1061 columns, 9722 non-zeros
      0: obj =  3.000000000e-003  infeas = 1.166e+001 (0)
    500: obj = -2.020338140e+000  infeas = 4.261e+000 (0)
    958: obj = -2.577333730e+000  infeas = 4.258e+000 (0)
PROBLEM HAS NO FEASIBLE SOLUTION
Time used:   0.2 secs
Memory used: 4.7 Mb (4913992 bytes)

If your mip instance is not very hard, you may try to disable the mip
preprocessor with --nointopt option.




reply via email to

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