[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #29989] sqp treats empty lb & ub incorrectly
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #29989] sqp treats empty lb & ub incorrectly |
Date: |
Mon, 31 May 2010 22:55:24 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic) Firefox/3.5.9 |
Update of bug #29989 (project octave):
Status: None => Need Info
_______________________________________________________
Follow-up Comment #1:
According to the documentation:
The fifth and sixth arguments are vectors containing lower and upper bounds
on X. These must be consistent with equality and inequality constraints G and
H. If the bounds are not specified, or are empty, they are set to -REALMAX
and REALMAX by default.
So the code properly reflects the documentation. I can see that this does
lead to a difference between calling sqp with 4 arguments and sqp with 6 or
more arguments. However, wouldn't the proper fix be to initialize the lb and
ub vectors to -/+ REALMAX for the 4 argument case since they are, in effect,
empty?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29989>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/