bugGNU Octave - Bugs: bug #64348, qp (quadratic programming) error...


bug #64348: qp (quadratic programming) error code 1 should never happen?

Submitter:  Julien Bect <jbect>
Submitted:  Mon 26 Jun 2023 08:11:59 AM UTC
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * stable Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Mon 26 Jun 2023 08:11:59 AM UTC, original submission:  

Error code 1 in qp corresponds to the case where the internal function _qp_ fails with error code 1, indicating a non-convex problem for which a local solution has been found.

However, it turns out that _qp_ is not even called for a non-convex program (H not positive definite), since qp would fail first with error code 2.

This issue is probably related to the recent introduction of the 'isdefinite' check (https://hg.savannah.gnu.org/hgweb/octave/rev/2f1fae9dd79d), which changed the meaning of error code 2.

Related doc issue: https://savannah.gnu.org/bugs/?64347

Julien Bect <jbect>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jbect (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-c373.
    Corresponding source code