bugGNU Octave - Bugs: bug #38483, qp() fails with empty inequality...


bug #38483: qp() fails with empty inequality constraints

Submitted by:  None
Submitted on:  Thu Mar 7 19:35:45 2013  
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: Patch SubmittedAssigned to: None
Originator Name: forkandwaitOriginator Email: -unavailable-
Open/Closed: OpenRelease: dev
Operating System: Any

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Sun Nov 20 21:47:23 2016, comment #4:

This issue is still present in Octave 4.2.0.

(The test script from comment #3 still errors out.)

Hartmut <hardy>
Mon Sep 28 17:20:21 2015, comment #3:

I confirm that this issue is still relevant on the stable branch (I haven't tested on default).

See attached file for a simple demo.

(file #35006)

Julien Bect <jbect>
Thu Mar 7 19:47:20 2013, comment #2:

Alright... now without the markup that doesn't seem to work ...

[x obj info lambda] = qp(lccon.x0,
lccon.H, lccon.q,
lccon.A_eqm, lccon.b_eqv,
lccon.lbvec, lccon.ubvec,
[], [], [],

Thu Mar 7 19:46:21 2013, comment #1:

The code I tried to post didn't seem to show up, so here is again, hopefully:

Thu Mar 7 19:35:45 2013, original submission:

I am running qp() with empty values for the inequality matrices, because I want placeholders in functions that call qp(). But it errors out, instead of inferring that it is the same as no matrices.

Here is what I want to do (lccon is set elsewhere):



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

Attach File(s):

Attached Files
file #35006:  demo_bug38483.m added by jbect (448B - text/x-objcsrc)
file #27573:  qp.diff added by None (1kB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by jbect (Updated the item)
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by jordigh (Updated the item)
  • -unavailable- added by None (Submitted the item)

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

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Sep 28 17:20:21 2015jbectAttached File-=>Added demo_bug38483.m, #35006
    Mon Oct 28 02:15:17 2013mtmillerCategoryNone=>Octave Function
    Thu Mar 7 19:37:25 2013jordighStatusNone=>Patch Submitted
    Thu Mar 7 19:35:45 2013NoneAttached File-=>Added qp.diff, #27573

    Back to the top

    Powered by Savane 3.1-cleanup1