bugGNU Octave - Bugs: bug #53506, qp uses fix tolerance: ignores sqp...


bug #53506: qp uses fix tolerance: ignores sqp tolerance argument

Submitted by:  Juan Pablo Carbajal <juanpi>
Submitted on:  Wed 28 Mar 2018 08:04:16 PM UTC  
Category:  Octave Function Severity:  4 - Important
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Confirmed Assigned to:  None
Originator Name:  juanpi Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 04 May 2018 04:20:19 PM UTC, comment #1:

I added the tolerance as an input parameter for qp in _qp_.cc.
The options struct passed to qp.m now includes "TolX". Until now it contained only maxit.
Regarding sqp.m, he qp subproblem now accepts the tolerance passed to sqp as a parameter.

(file #44091)

Maor Shutman <maors>
Wed 28 Mar 2018 08:04:16 PM UTC, original submission:

Bug #53483 indicated a problem in sqp which is track down to the C++ code of qp.cc

In line 99 qp uses a fixed tolerance for the search given by sqrt(eps). http://octave.org/doxygen/4.3/da/dbd/____qp_____8cc_source.html

This is a bug in qp and one would need to pass the tolerance as a parameter (or compute the correct tolerance for qp based on the arguments of sqp).
This bug is similar to feature request #43030

Juan Pablo Carbajal <juanpi>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #44091:  53506.cset added by maors (4KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by maors (Updated the item)
  • -email is unavailable- added by juanpi (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-04 maors Attached File- => Added 53506.cset, #44091

    Back to the top

    Powered by Savane 3.3