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

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

[Octave-bug-tracker] [bug #29989] sqp treats empty lb & ub incorrectly


From: Leo Butler
Subject: [Octave-bug-tracker] [bug #29989] sqp treats empty lb & ub incorrectly
Date: Sat, 29 May 2010 10:34:43 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.19) Gecko/2010033100 Iceweasel/3.0.6 (Debian-3.0.6-3)

URL:
  <http://savannah.gnu.org/bugs/?29989>

                 Summary: sqp treats empty lb & ub incorrectly
                 Project: GNU Octave
            Submitted by: l_butler
            Submitted on: Sat May 29 10:34:42 2010
                Category: Libraries
                Severity: 3 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

sqp(x0,@f,@g,[])
and
sqp(x0,@f,@g,[],[],[])
solve the same optimisation problem, but the latter produces different output
and runs differently. This is because the code sets lb (ub) to a vector of
length(x0) with entries -Inf (Inf). This is unnecessary and undocumented
behaviour.

I have attached a patch to correct this.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat May 29 10:34:42 2010  Name: sqp.m.diff  Size: 429B   By: l_butler

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

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29989>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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