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: Rik
Subject: [Octave-bug-tracker] [bug #56037] qp exits with an indexing error for a specific input with OpenBLAS
Date: Wed, 3 Apr 2019 16:00:13 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #16, bug #56037 (project octave):

It's a small point, but in the test script try1.m the order of output
arguments is incorrect.  "info" and "obj" (value of objective function at
final solution) should be reversed.

It should read


[x,obj,info,lambda] = qp([],p,q,a,b,lb,ub)


Apparently I am using reference BLAS because I also get a final value for the
objective function of 0.5625.  This is the case *even* when I start very close
to the other solution.


[x,obj,info,lambda] = qp([0.5 0 0.51 0 0 0 0 0],p,q,a,b,lb,ub)


I would suggest inspecting the variables before and after line 413


    [x, lambda, info, iter] = __qp__ (x0, H, q, A, b, Ain, bin, maxit);


when using a working and a non-working BLAS library.



    _______________________________________________________

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]