help-octave
[Top][All Lists]
Advanced

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

RE: fminsearch question


From: Bikbov, Ruslan
Subject: RE: fminsearch question
Date: Wed, 15 Apr 2020 12:52:51 +0000

Thank you. What I mean is I have a function that depends on a parameter. Say my function is f(x,a) where “x” is the variable I optimize and  “a” is a parameter. How can I pass parameter “a” to fminsearch in Octave?

 

From: [External] Nicholas Jankowski <address@hidden>
Sent: Tuesday, April 14, 2020 7:59 PM
To: Bikbov, Ruslan [ICG-RSCH]
Cc: address@hidden
Subject: Re: fminsearch question

 

On Tue, Apr 14, 2020 at 7:00 PM Bikbov, Ruslan via Help-octave <address@hidden> wrote:

Hello Octave team,

 

Is it possible to pass parameters into the optimized function using fminsearch?  Matlab allows it but Octave doesn’t seem too. If not, is there any workaround solution?

 

 

It appears from the help for fminsearch for Octave:

 

and matlab:

 

that they both take options the same way using optimset.  that said, the octave help does say that the only supported options currently are: "TolX""MaxFunEvals""MaxIter""Display"

 

If matlab permits other options that you need, you may need to find another solution.

 


reply via email to

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