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 and f


From: Sébastien Villemot
Subject: [Octave-bug-tracker] [bug #61801] [octave forge] (optim) lsqnonlin and fmincon test failures
Date: Wed, 13 Apr 2022 11:39:03 -0400 (EDT)

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

Many problems with Octave 7.1.0 have indeed been fixed in the mercurial
repository.

However, I still experience one (as of 83eefe952baa):


octave:1> pkg load optim
octave:2> function [v, d] = optimf(x)
>   v = x^2;
>   d = 2*x;
> end
octave:3> optim_options = optimset('GradObj','on');
octave:4> fmincon(@optimf, 3, [], [], [], [], 2, 4, [], optim_options)
error: @<anonymous>: function called with too many inputs
error: called from
    fmincon>@<anonymous>
    __jacobian_constants__>@<anonymous> at line 135 column 11
    __lm_feasible__ at line 145 column 8
    fmincon at line 456 column 24


It is apparently triggered by the combination of explicit gradient with
optimization bounds.



    _______________________________________________________

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]