|
From: | VanReet, Jon |
Subject: | [Bug-glpk] Infinite loop |
Date: | Thu, 6 Jul 2006 22:22:23 +0400 |
Infinite loopI encountered a situation where I got into an infinite loop in the routine spx_simplex in the module glpspx2.c. Thecall to thefunction spx_prim_feas located shortly after the feas: label returned LPX_E_OK and control passed to the label opt:. The call to the routinespx_prim_opt returned LPX_E_INSTAB whichtransferred control back to label feas:. This sequence then repeated without end. I changedthe case statement after thespx_prim_opt call such thattheLPX_E_INSTAB return goes to label done: instead of feas:. Jon Van Reet SCADA Support office (918) 574-7512 cell (713) 416-3672
I encountered a situation where I got into an infinite loop in the routine spx_simplex in the module glpspx2.c. The call to the function spx_prim_feas located shortly after the feas: label returned LPX_E_OK and control passed to the label opt:. The call to the routine spx_prim_opt returned LPX_E_INSTAB which transferred control back to label feas:. This sequence then repeated without end.
I changed the case statement after the spx_prim_opt call such that the LPX_E_INSTAB return goes to label done: instead of feas:.
SCADA Support
office (918) 574-7512
cell (713) 416-3672
[Prev in Thread] | Current Thread | [Next in Thread] |