Skip to content

Add an internal parameter "outer_mineval_xftol" for mma/ccsaq. #594

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

madosqr
Copy link

@madosqr madosqr commented Feb 21, 2025

In mma/ccsaq, when the outer iteration step k is less than "outer_mineval_xftol", the stopping criteria of xtol and ftol are disabled. This is quite useful in some optimization problems where there is a "startup" process during which x and f change slowly. The default value of "outer_mineval_xftol" is 0, namely the program behavior is the same with that of the current version.

modified:   src/algs/mma/ccsa_quadratic.c
modified:   src/algs/mma/mma.c
modified:   src/algs/mma/mma.h
modified:   src/api/optimize.c

In mma/ccsaq, when the outer iteration step k is less than "outer_mineval_xftol", the stopping criteria of xtol and ftol are disabled. This is quite useful in some optimization problems where there is a "startup" process during which x and f change slowly.
The default value of "outer_mineval_xftol" is 0, namely the program behavior is the same with that of the current version.

	modified:   src/algs/mma/ccsa_quadratic.c
	modified:   src/algs/mma/mma.c
	modified:   src/algs/mma/mma.h
	modified:   src/api/optimize.c
Fix indentation.

	modified:   doc/docs/NLopt_Algorithms.md
	modified:   src/api/optimize.c
@madosqr
Copy link
Author

madosqr commented Feb 21, 2025

Now "outer_mineval_xftol" is documented in NLopt_Algorithms.md
The indentation is corrected.

@madosqr madosqr requested a review from jschueller February 21, 2025 14:14
@jschueller
Copy link
Collaborator

ok for me

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.

2 participants