[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf
From: |
Olaf Till |
Subject: |
[Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf bounds |
Date: |
Thu, 02 Dec 2010 11:55:12 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.19) Gecko/2010102906 Iceweasel/3.0.6 (Debian-3.0.6-3) |
URL:
<http://savannah.gnu.org/bugs/?31742>
Summary: sqp: incorrect order of removal of Inf bounds
Project: GNU Octave
Submitted by: i7tiol
Submitted on: Thu 02 Dec 2010 11:55:12 AM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: Olaf Till
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
This is a repost after data removal due to an intrusion into savannah at
2010-11-22/24. The original report was from 2010-11-23 and had the number
31747.
This bug was reported to the former bug-list, together with a patch, in
february 2010, but the patch was never applied. I would have brought the issue
to the tracker earlier, but I thought I had tested that some later changes by
Rik fixed it --- but there was obviously some mistake in my testing, since I
see now that the bug and the respective parts of the code are the same as
before. So here is it again:
There is a bug in the order in which sqp removes never-active Inf bounds,
triggered e.g. by (I had moved the file to a non-standard directory for
testing):
octave:3> [x, objf] = sqp ([1; 1], @ (x) sumsq ([1, 2, 4, 8, 20] - x(1) *
exp
(x(2) * (1:5))), [], [], [-1; -inf], [2; 2])
error: operator *: nonconformant arguments (op1 is 2x4, op2 is 3x1)
error: called from:
error: /home/olaf/devel/octave/optim/sqp.m at line 478, column 9
A patch is attached (also includes a minor correction:
if (__sqp_lb__ > __sqp_ub__) ->
if (any (__sqp_lb__ > __sqp_ub__))
).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 02 Dec 2010 11:55:12 AM GMT Name: sqp-inf-bounds-removal.changeset
Size: 3kB By: i7tiol
<http://savannah.gnu.org/bugs/download.php?file_id=22087>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31742>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf bounds,
Olaf Till <=
- [Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf bounds, Rik, 2010/12/04
- [Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf bounds, Olaf Till, 2010/12/05
- [Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf bounds, Olaf Till, 2010/12/05
- [Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf bounds, Olaf Till, 2010/12/06
- [Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf bounds, Rik, 2010/12/12
- [Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf bounds, Olaf Till, 2010/12/13
- [Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf bounds, Rik, 2010/12/13
- [Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf bounds, Olaf Till, 2010/12/15
- [Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf bounds, Rik, 2010/12/16
- [Octave-bug-tracker] [bug #31742] sqp: incorrect order of removal of Inf bounds, Rik, 2010/12/29