Cannot pass function arguments.
Opened this issue · 1 comments
SSimonTemplar commented
Hello Paul.
Is it possible to pass function arguments to the solver?
For example, my function is defined as:
def func(x,*parms):
And then with the scipy minimize I can pass the parameters with the args= argument:
minimize(func, Initial_Guesses, method = 'SLSQP', bounds = Bounds, args=Parms )
I looked at the code but did not see a way to pass this argument.
Thanks
paulknysh commented
Hi, sorry, I don't have a good answer here actually, never ran into such scenario.
Under the hood, scipy minimizes RBF fit, not the function itself, not sure if it's possible to do that..