Skip to content

Cannot pass function arguments. #26

@SSimonTemplar

Description

@SSimonTemplar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions