[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/
signature.asc
Description: PGP signature
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, (continued)
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, Philip Nienhuis, 2024/07/22
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, anonymous, 2024/07/22
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, anonymous, 2024/07/23
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, Rik, 2024/07/23
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, Rik, 2024/07/23
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, Hendrik K, 2024/07/24
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, anonymous, 2024/07/24
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output,
Rik <=
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, Rik, 2024/07/24
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, Rik, 2024/07/24
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, Hendrik K, 2024/07/25
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, anonymous, 2024/07/26
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, Hendrik K, 2024/07/26
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, Rik, 2024/07/28
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, Hendrik K, 2024/07/29
- [Octave-bug-tracker] [bug #66010] Function glpk produces incorrect output, Rik, 2024/07/29