octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #66010] Function glpk produces incorrect outpu


From: Rik
Subject: [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output
Date: Wed, 24 Jul 2024 15:18:51 -0400 (EDT)

Follow-up Comment #8, bug #66010 (group octave):

I hadn't put it in my comments, but I had wondered as well if small values
were a problem.  But I was silly and only changed the values in the 'b' vector
using


b(abs (b) < eps) = 0;


That wasn't enough to fix the issue.  I should have thought about doing the
same thing to the A matrix.

Overall, I think it's another good lesson that numerical computation is not
the same thing as pure math, and that checking the answer for reasonableness
is always important.  It's annoying to me that one can't rely on the status
code coming from glpk.  It indicated a successful run, even though solution
was clearly out of spec.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66010>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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