bugGNU Octave - Bugs: bug #34136, Function sqp.m (version...

 
 

bug #34136: Function sqp.m (version 14/05/2009) : error in line 304, variable __sqp_ub

Submitter:  None
Submitted:  Fri 26 Aug 2011 12:28:09 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Fred Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.2.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 26 Aug 2011 04:14:31 PM UTC, comment #1: 

Version 3.2.0 is no longer maintained.  I would suggest moving to the latest stable version 3.4.2.  The sqp function has been extensively rewritten between 3.2.4 and the 3.4.X series and this has been fixed.

Rik <rik5>
Group administrator
Fri 26 Aug 2011 12:28:09 AM UTC, original submission:  

instead of :

        global __sqp_ub__;
        if (isvector (ub))
          __sqp_ub__ = ub;
        elseif (isempty (lb))
          __sqp_ub__ = realmax;
        else
          error ("sqp: invalid upper bound");
        endif


I think that :

        global __sqp_ub__;
        if (isvector (ub))
          __sqp_ub__ = ub;
        elseif (isempty (ub))
          __sqp_ub__ = realmax;
        else
          error ("sqp: invalid upper bound");
        endif

is better !
confusion between "lg" and "ub" in the line of the "elseif"

@+

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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 rik5 (Posted a comment)
  • -email is unavailable- added by None (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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-26 rik5 Item GroupBuild Failure Incorrect Result
        StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code