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

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

[Octave-bug-tracker] [bug #63286] [octave forge] (optim) fmincon error w


From: Liang Tang
Subject: [Octave-bug-tracker] [bug #63286] [octave forge] (optim) fmincon error with anonymous function
Date: Fri, 28 Oct 2022 17:59:14 -0400 (EDT)

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

Same error.  This is MS window result.  

 optim  |   1.6.2 | 

>> fun = @(x) x^2;
>> x = fmincon(fun, x0=1)
error: @<anonymous>: function called with too many inputs
error: called from
    @<anonymous>
    __dfdp__ at line 304 column 15
    fmincon>@<anonymous> at line 385 column 26
    __jacobian_constants__>@<anonymous> at line 135 column 11
    __lm_feasible__ at line 145 column 8
    fmincon at line 451 column 24
>> ver
----------------------------------------------------------------------
GNU Octave Version: 7.1.0 (hg id: 04120d65778a)
GNU Octave License: GNU General Public License
Operating System: MINGW32_NT-6.2 Windows 6.2  x86_64


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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