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

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

[Octave-bug-tracker] [bug #55507] error: quadprog: equality constraint m


From: anonymous
Subject: [Octave-bug-tracker] [bug #55507] error: quadprog: equality constraint matrix has incorrect column dimension
Date: Fri, 18 Jan 2019 08:57:09 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

URL:
  <https://savannah.gnu.org/bugs/?55507>

                 Summary: error: quadprog: equality constraint matrix has
incorrect column dimension
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 18 Jan 2019 01:57:07 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Aleksandra Dawid
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The problem described in details in the forum:
http://octave.1599824.n4.nabble.com/error-quadprog-equality-constraint-matrix-has-incorrect-column-dimension-td4690943.html#a4690946

Kai Torben Ohlhus says:
The problem is (but should not be) that you provide all empty constraints: A =
b = Aeq = beq = [].

In short: `horzcat ({1},[],{2})` will evaluate to `{1, 2}` not `{1, [], 2}`.

A fix is to surround the arguments "{A}" and "{b}" in the aforementioned line.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 18 Jan 2019 01:57:07 PM UTC  Name: test_lsqlin.cc  Size: 2KiB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=46005>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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