[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:22:01 -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):
Release: 5.2.0 => 6.0.90
_______________________________________________________
Follow-up Comment #1:
The same error occurs on the 6.0 branch,
invoking any test in any nonlin* function from the
'optim' package, e.g. :
>> test nonlin_min
***** test
## 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);
!!!!! test failed
'fname' undefined near line 121, column 121
>>
The same behaviour occurs also with optim downloaded from
the source repository
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57982>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/