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

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

[Octave-bug-tracker] [bug #56037] qp exits with an indexing error for a


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #56037] qp exits with an indexing error for a specific input with OpenBLAS
Date: Tue, 2 Apr 2019 10:37:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36

Update of bug #56037 (project octave):

                  Status:               Need Info => Confirmed              
                 Summary: Qp function crashes for a specific input => qp exits
with an indexing error for a specific input with OpenBLAS

    _______________________________________________________

Follow-up Comment #3:

I can confirm the error reported here with both Octave 4.4 and 5 using
OpenBLAS


p = 2 * [-1; ones(7,1)] * [-1, ones(1,7)];
q = zeros (8,1);
lb = zeros (1,8);
ub = ones (1,8);
a = ones (1,8);
b = 1;
[x, info, obj, lambda] = qp ([], p, q, a, b, lb, ub)


error: index (_,4): but object has size 3x3
error: called from
    qp at line 413 column 29:


If I use BLAS instead, I get a solution, but a different result than the one
shown by Dmitri in comment #2.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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