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

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

[Octave-bug-tracker] [bug #61801] [octave forge] (optim) lsqnonlin doesn


From: Sébastien Villemot
Subject: [Octave-bug-tracker] [bug #61801] [octave forge] (optim) lsqnonlin doesn't work under Octave 7.0.90
Date: Mon, 17 Jan 2022 10:26:06 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0

Follow-up Comment #3, bug #61801 (project octave):

Note that fmincon is affected by the same issue:


octave:1> pkg load optim
octave:2> test fmincon
***** test
 ## equality constraint
 objective_function = @ (p) p(1)^2 + p(2)^2;
 pin = [-2; 5];
 constraint_function = @ (p) - (p(1)^2 + 1 - p(2));
 [p, objf, cvg, outp] = fmincon (objective_function, pin, [], [], [], [], [],
[], @ (p) {[], constraint_function(p)}{:}, optimset ("Algorithm",
"lm_feasible"));
 assert (p, [0; 1], 1e-6)
!!!!! test failed
: function called with too many inputs



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61801>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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