Skip to content

Comments

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

Open
madosqr wants to merge 2 commits intostevengj:masterfrom
madosqr:master
Open

Add an internal parameter "outer_mineval_xftol" for mma/ccsaq.#594
madosqr wants to merge 2 commits intostevengj:masterfrom
madosqr:master

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