[bug #68473] sqp bound check error message

Liang Tang <[email protected]> Tue, 23 Jun 2026 18:03:12 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
--===============8807301853867839805==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

UGxlYXNlIHVzZSB0aGUgYnVnIHRyYWNrZXIgdG8gcG9zdCB1cGRhdGVzIHRvIGEgYnVnIHJlcG9y
dC4gIFRoZSBtYWlsaW5nIGxpc3QgaXMgaW50ZW5kZWQgYXMgYSByZWFkLW9ubHkgbm90aWZpY2F0
aW9uIHN0cmVhbS4gIEluZm8gcG9zdGVkIHRvIHRoaXMgbWFpbGluZyBsaXN0IGFkZHJlc3Mgd29u
J3QgYXBwZWFyIGluIHRoZSB0cmFja2VyIGRhdGFiYXNlIHdoZXJlIGl0IGlzIG1vc3QgdXNlZnVs
LgoK

--===============8807301853867839805==
Content-Type: MULTIPART/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; BOUNDARY="8323329-1189641421-1782252192=:3012273"
Content-Disposition: inline

--8323329-1189641421-1782252192=:3012273
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

URL:=0A  <https://savannah.gnu.org/bugs/?68473>=0A=0A                 Summa=
ry: sqp bound check error message=0A                   Group: GNU Octave=0A=
               Submitter: lt1234=0A               Submitted: Tue 23 Jun 202=
6 10:03:08 PM UTC=0A                Category: Octave Function=0A           =
     Severity: 3 - Normal=0A                Priority: 5 - Normal=0A        =
      Item Group: Unexpected Error or Warning=0A                  Status: N=
one=0A             Assigned to: None=0A         Originator Name: lt1234=0A =
       Originator Email:=0A             Open/Closed: Open=0A         Discus=
sion Lock: Unlocked=0A                 Release: 11.1.0=0A        Operating =
System: Microsoft Windows=0A           Fixed Release: None=0A         Plann=
ed Release: None=0A=0A=0A    ______________________________________________=
_________=0A=0AFollow-up Comments:=0A=0A=0A--------------------------------=
-----------------------=0ADate: Tue 23 Jun 2026 10:03:08 PM UTC By: Liang T=
ang <lt1234>=0Asqp stops at a bound check with ub/lb.  The input ub/lb has =
inf.  Thanks. =0A=0AExample: =0Afun=3D@(x) sum(x.^2)=0Alb=3D[-inf 10 0]; ub=
=3D[0 29 inf]; ub-lb, =0Ax0=3D[-10 15 5]; x0-lb, ub-x0=0Ax=3Dfmincon (fun, =
x0, [], [], [], [], lb,ub); x-lb, ub-x=0Ax=3Dsqp(x0, fun, [],[], lb,ub); =
=0Aerror: sqp: upper bound smaller than lower bound=0Aerror: called from=0A=
    sqp at line 325 column 9=0A=0A=0A=0A=0A=0A=0A=0A    ___________________=
____________________________________=0A=0AReply to this item at:=0A=0A  <ht=
tps://savannah.gnu.org/bugs/?68473>=0A=0A__________________________________=
_____________=0AMessage sent via Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-1189641421-1782252192=:3012273
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCajsCoAAKCRCqLAuaBUf3
ToN2APwLOuy/XCdmeoX9SvPrWcd9enHjA/oP8yxRUySBi2kvfgEAjxzLwpgdF2HO
iEf2FtHy5kNwPtPpQAgZGWOEephdiwo=
=yn1I
-----END PGP SIGNATURE-----

--8323329-1189641421-1782252192=:3012273--



--===============8807301853867839805==--