Skip to content

Handle negative disabled tolerances in COBYLA - #660

Open
Sinkleberg wants to merge 1 commit into
stevengj:masterfrom
Sinkleberg:codex/cobyla-disabled-xtol
Open

Sinkleberg wants to merge 1 commit into
stevengj:masterfrom
Sinkleberg:codex/cobyla-disabled-xtol

Conversation

@Sinkleberg

Copy link
Copy Markdown

Fixes #380. Zero and negative tolerances both disable the coordinate stopping criteria. COBYLA could still use a negative relative tolerance to set its final radius.

On a two-dimensional constant objective with a very small initial step, zero tolerance stopped after 81 evaluations. Negative tolerance reached the 250-evaluation cap. The new regression compares the two runs without assuming a particular evaluation count.

All 89 CTest cases passed on Linux. Across 240 paired inputs, the two ways of disabling tolerances now give identical results.

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.

COBYLA - disabling parameter based stopping criteria results in a negative rhoend

1 participant