bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] [Help-glpk] [bug] glpk cycling


From: Andrew Makhorin
Subject: Re: [Bug-glpk] [Help-glpk] [bug] glpk cycling
Date: Wed, 22 Nov 2017 15:46:02 +0300

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:

address@hidden:~/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
address@hidden:~/Desktop/glpk$ ls
glpk  glpk.cc  glpk_matrix.txt  glpk.o  Makefile
address@hidden:~/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




reply via email to

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