> I run GLPK with sample case 'sudoku'
> when system print out the result, I get the output as follows:
> 
> glp_open: invalid mode string
> Error detected in file ..\src\env\stream.c at line 97
> 
> Same case will happen at version glpk-4.53 and glpk-4.54
> 
> After I check the source code and I found that
> new version use 'append' mode to print out message.
> 

Thank you for your bug report.

To fix the bug please replace file glpk/src/env/stream.c with a patched
version (see attachment).

Please note that "a" mode still does not work for gzipped files (though
zlib claims it should), so this case needs further investigation.


Andrew Makhorin

Attachment: stream.c.gz
Description: GNU Zip compressed data

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

Reply via email to