[Top][All Lists]

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

Re: [Bug-glpk] 2 Bugs I found

From: Andrew Makhorin
Subject: Re: [Bug-glpk] 2 Bugs I found
Date: Tue, 23 Jan 2001 23:11:33 +0300

Thank you very much for your bug report.

>1. Use of functions in assert macros.

You are absolutely right. The assert macro is used in wrong way.
In the next version of GLPK I'm going to replace it by my own macro
on which NDEBUG doesn't affect.

>2. Write MPS files do not load into LINDO correctly.
>The glp_write_mps routine outputs column lines with blank name fields.
>is a problem for LINDO.  I changed the column write code to always output a
>column name.

You needn't to change the glp_write_mps routine. Before calling this
routine you should change the control parameter 'mps_pedantic' by means
of the following statement:

glp_set_ipar("mps_pedantic", GLP_YES);

(by default its value is GLP_NO). In this case glp_write_mps never
omits column and vector names in the output MPS file. (For details,
please, see GLPK User's Guide).

Best regards,

Andrew Makhorin,
the author and maintainer of GLPK

reply via email to

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