bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] glpsol: crash on display


From: Daniel Franke
Subject: [Bug-glpk] glpsol: crash on display
Date: Wed, 19 Nov 2008 02:56:34 +0300

Hi,

no idea if the MathProg statements below are legal.
However, I'm sure the solver should not crash :)

$> cat segfault.mod
set samples dimen 4;

set bnodes := (setof{(sid, bid, temp, rep) in samples: bid !in bnodes} bid);
display bnodes;

data;
set samples :=
        # sid  bid  temp  rep
        (  A,   Z,   10,   1 )
        (  B,   Z,   10,   1 )
        (  C,   Z,   20,   1 )
        ;
end;

$> glpsol --math segfault.mod
Reading model section from segfault.mod...
Reading data section from segfault.mod...
15 lines were read
Display statement at line 4
Segmentation fault

$> glpsol --version
GLPSOL: GLPK LP/MIP Solver 4.32


Regards

        Daniel








reply via email to

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