[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57982] [octave forge] (optim) error message i
From: |
Carlo de Falco |
Subject: |
[Octave-bug-tracker] [bug #57982] [octave forge] (optim) error message in nonlin_min for a simple problem |
Date: |
Thu, 26 Mar 2020 05:52:48 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:74.0) Gecko/20100101 Firefox/74.0 |
Update of bug #57982 (project octave):
Item Group: None => Regression
_______________________________________________________
Follow-up Comment #2:
The same test works with version 1.5.1 of the package
(need to run it manually as there are no tests in 1.5.1):
## independents
indep = 1:5;
## objective function:
f = @ (p) sumsq (p(1) * exp (p(2) * indep) - [1, 2, 4, 7, 14]);
## initial values:
init = [.25; .25];
## linear constraints, A.' * parametervector + B >= 0
A = [1; -1]; B = 0; # p(1) >= p(2);
settings = optimset ("inequc", {A, B});
assert (nonlin_min (f, init, settings), [.6203; .6203], .0001);
so I am marking this as a regression.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57982>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/