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
_______________________________________________
Bug-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk