On Wed, 2017-11-22 at 12:41 +0100, David Monniaux wrote:
> Dear GLPK friends,
> 
> The attached example makes GLPK cycle infinitely (GLPK 4.63, x86-64).
> 
> Is this a bug? Any way to avoid this?
> 
> (The bug was found by my student Hang Yu. congratulations Hang!)
> 

Thank you for your bug report. 

Unfortunately, I'm unable to reproduce the effect due to a regex error:

mao@corvax:~/Desktop/glpk$ make
g++  -Wall -Wextra -pedantic -O3 -g -march=native -std=c++11  -c glpk.cc
-o glpk.o
g++  glpk.o -lglpk -lm -o glpk
mao@corvax:~/Desktop/glpk$ ls
glpk  glpk.cc  glpk_matrix.txt  glpk.o  Makefile
mao@corvax:~/Desktop/glpk$ ./glpk
terminate called after throwing an instance of 'std::regex_error'
  what():  regex_error
Aborted

Please write the instance to a text file in lp format (with
glp_write_lp) or better in glp format (with glp_write_prob) and post it
either to the bug-glpk list or to me. Thanks.


Andrew Makhorin


_______________________________________________
Bug-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to