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

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

[Octave-bug-tracker] [bug #38353] qp() fails on a feasible problem


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #38353] qp() fails on a feasible problem
Date: Mon, 15 Nov 2021 13:23:30 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36

Update of bug #38353 (project octave):

                  Status:               Need Info => Wont Fix               
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #10:

In Octave 6.4.0, the problem in comment #0 no longer produces the error
described in any of the previous comments (the most recent being 5 years and
two major Octave versions ago). The two outputs of that code do differ
significantly, however I cannot say that whether this is a failure:



>> load qp_debug.dat;
>> [X1, OBJ1, INFO1, LAMBDA1] = qp ([], H, q, Ge, ge, [], [], [], G, G_ub)
X1 =

   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0
   0

OBJ1 = 0
INFO1 =

  scalar structure containing the fields:

    solveiter = 0
    info = 6

LAMBDA1 = [](0x0)

>> [X2, OBJ2, INFO2, LAMBDA2] = qp (solution, H, q, Ge, ge, [], [], [], G,
G_ub)
X2 =

   6.5643e-01
  -7.3860e+00
   4.6316e-01
   3.9893e+00
   3.2680e-01
   1.1984e+00
   2.3058e-01
  -2.1841e-01
   1.6269e-01
  -1.3960e-01
   1.1479e-01
   2.4953e-03
   8.0989e-02
   1.3326e-02
   5.7141e-02
   1.4720e-03
   4.0313e-02
  -1.0534e-03
   2.8438e-02
  -2.7244e-04
   2.0056e-02
   6.3237e-05
   1.4139e-02
   3.9361e-05
   9.9580e-03
   7.9299e-06
   7.0010e-03
  -5.3793e-05
   4.9041e-03
  -1.7213e-04
   3.9578e-03
   3.0603e-04

OBJ2 = -0.8400
INFO2 =

  scalar structure containing the fields:

    solveiter = 1
    info = 0

LAMBDA2 =

   0.0000
   0.0000
   0.4666
        0
   0.3095
        0
   0.2044
        0
   0.1344
        0
   0.0879
        0
   0.0571
        0
   0.0368
        0
   0.0235
        0
   0.0149
        0
   0.0093
        0
   0.0057
        0
   0.0034
        0
   0.0019
        0
   0.0010
        0
   0.0005
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0
        0


Since matlab doesn't have a matching qp function, hard to point to exactly
whether this behavior is compatible, expected, correct, etc.   Since the bug
has been Need Info for 5 years, closing as Won't Fix. If someone confirms that
the issue is still problematic, it can be reopened then.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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