Skip to content

Restore test for NEWUOA_BOUND #200

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 1 commit into
base: master
Choose a base branch
from
Open

Conversation

aadler
Copy link
Contributor

@aadler aadler commented Mar 25, 2025

It seems to work on my PC.

@astamm
Copy link
Owner

astamm commented Mar 26, 2025

I will check with a rocker image.

However, NEWUOA_BOUND is very very close to what BOBYQA does. In the spirit of your other PR #199, we might consider dropping it, and suggesting downstream packages who would use the dropped algorithms to use equivalent alternatives. Or even in nloptr.c select BOBYQA when user ask for NEWUOA_BOUND in the spirit of what I did for LBFGS_NOCEDAL.

@aadler
Copy link
Contributor Author

aadler commented Mar 26, 2025

WHOA!

test-nloptr.R................. 34 tests OK *** buffer overflow detected ***: terminated

I guess that's why we killed it. Let me dig into why.

@aadler
Copy link
Contributor Author

aadler commented Mar 27, 2025

Interestingly, it only has the buffer overrun in ubuntu release and not ubuntu devel. I don't know what that means.

@astamm
Copy link
Owner

astamm commented Mar 27, 2025

In this case, we could skip the test for some specific versions of R. Although that does not solve the underlying root cause.

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