Closed richinex closed 2 years ago
Hi @richinex
For simplicity of the source code I chose to leave this out because the same behavior is easily obtained using lambda functions and/or functools.partial.
For example
minimize(func, x0, args=(3,))
is equivalent to
minimize(lambda x: func(x, 3), x0)
Ah yes I got it. Gracias.
Is there a way to pass in extra arguments to the objective function like we have in scipy with the keyword argument args?