[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-glpk] 2 Bugs I found
From: |
Huegler, Peter A. |
Subject: |
[Bug-glpk] 2 Bugs I found |
Date: |
Tue, 23 Jan 2001 14:23:43 -0500 |
I believe the I have found two bugs in the package. Attached are fixes that
I have applied to the code.
1. Use of functions in assert macros.
When the programs are compiled using the NDEBUG preprocessor definition (in
a release mode), the functions within the asserts are not called.
Consequently, the simplex routine is not initializing correctly. Attached
are my fixes.
<<glp_simplex.diff>> <<glp_write_mps1.diff>>
2. Write MPS files do not load into LINDO correctly.
The glp_write_mps routine outputs column lines with blank name fields. This
is a problem for LINDO. I changed the column write code to always output a
column name.
<<glp_write_mps2.diff>>
glp_simplex.diff
Description: Binary data
glp_write_mps1.diff
Description: Binary data
glp_write_mps2.diff
Description: Binary data
- [Bug-glpk] 2 Bugs I found,
Huegler, Peter A. <=