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 18:04:33 -0400 (EDT)

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

I don't know what happen now.  I updated but I still had this: 

>> which fmincon
'fmincon' is a function from the file
C:\Octave\Octave-7.1.0\mingw64\share\octave\packages\optim-1.6.1\fmincon.m

I then exited Octave & re-enter.  Now it works.   

>> which fmincon
'fmincon' is a function from the file
C:\Users\Owner\AppData\Roaming\octave\api-v57\packages\optim-1.6.2\fmincon.m
>> fun = @(x) x^2;
>> x = fmincon(fun, x0=1)
x = 8.0109e-13




    _______________________________________________________

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]