Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functionality to pass arguments to objective function #143

Closed
bradahoward opened this issue Jun 25, 2018 · 1 comment
Closed

Functionality to pass arguments to objective function #143

bradahoward opened this issue Jun 25, 2018 · 1 comment
Assignees
Labels
enhancement Feature requests

Comments

@bradahoward
Copy link
Contributor

Parameterizing Objective Functions
The ability to send parameters into the objective function will provide much more applicability for the project.

Solution
Use *args and/or **kwargs to enable the passing arguments into the objective function.

@ljvmiranda921
Copy link
Owner

Hey, awesome @bradahoward , let me check this on Thursday 👍

@ljvmiranda921 ljvmiranda921 self-assigned this Jun 26, 2018
@ljvmiranda921 ljvmiranda921 added enhancement Feature requests v0.3.0 labels Jun 26, 2018
ljvmiranda921 pushed a commit that referenced this issue Jun 28, 2018
Resolves #143 

This commit adds a `**kwargs` parameter to the `optimize()` method
to pass arguments directly on the objective function. Additional tests
and documentation were also provided.

Committed with @bradahoward 
Signed-off-by: Lester James V. Miranda <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests
Projects
None yet
Development

No branches or pull requests

2 participants