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

add 1D minimizer over a [a,b] range #522

Draft
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

wkotlarski
Copy link

@wkotlarski wkotlarski commented Feb 24, 2023

Currently we only have a wrapper over a multidimensional minimizer that uses a gradient descent. This is not the most efficient thing to use if all you want is to minimize a 1d function. For this we should have a wrapper over gsl_min_fminimizer_set. This functionality will be needed both in PRs #446 and #524.

Idea for an implementation: create an overload for the

int minimize(const Vector_t&);

function that works only in 1D and takes

int minimize(double, double);

@wkotlarski wkotlarski linked an issue Feb 24, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

minimize function within bounds
1 participant