[Top][All Lists]

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

Re: [Bug-glpk] Error detected in file ..\src\mpl\mpl3.c at line 856, Ass

From: Andrew Makhorin
Subject: Re: [Bug-glpk] Error detected in file ..\src\mpl\mpl3.c at line 856, Assertion failed: item2 != NULL
Date: Sun, 07 Aug 2016 18:06:29 +0300

Hi Heinrich,

> when running the appended model with glpk 4.60 on Windows 64bit I receive an 
> error:
> Time used:   81392.5 secs
> ...
> Assertion failed: item2 != NULL
> Error detected in file ..\src\mpl\mpl3.c at line 856
> Available system memory is 8 GB.

Thank you for your bug report.

I could not reproduce the error. First I run your model with nt := 100
to reduce the solution time, and then I used --nomip --dual --flip to
solve lp relaxation (it took about 4 hrs on my 3GHz machine). In both
cases no error occurred (I used glpk 4.60 on w32 compiled with gcc).

JFYI: see the log of the second run attached.

You may try to split the solution process into three phases (the error
must appear on the third phase):

glpsol -m clustering.mod --wglp clustering.glp --check
glpsol --glp clustering.glp -w clustering.sol ...
glpsol -m clustering.mod -r clustering.sol

If the error will occur, please post me clustering.mod and
clustering.sol. Thanks.

Andrew Makhorin

PS: Please note that there is a little chance that the compiler produces
a wrong code. I encountered this on using MSVC. So you may try to
rebuild glpk, say, with an option that disables code optimization.

Attachment: log.txt
Description: Text document

reply via email to

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