[Bug-glpk] Bug in handling RANGES section in mps file

2016-05-25 Thread Chris Matrakidis
Andrew, glpk is saying that cont1 found in http://plato.asu.edu/ftp/lptestset/misc/ has no primal feasible solution, while other solvers can solve it. I managed to trace it to an error in the handling of the RANGES statement in mps files, fixed by the attached patch. After this fix the solver

Re: [Bug-glpk] Bug in handling RANGES section in mps file

2016-05-25 Thread Noli Sicad
Hi Chris, I applied your mps.patch to mps.c However, I got this error. api/mps.c: In function 'read_ranges': api/mps.c:710:41: error: 'rns' undeclared (first use in this function) api/mps.c:710:41: note: each undeclared identifier is reported only once for each function it appears in make[2]: