Skip to content

Conversation

@arnavk23
Copy link
Contributor

@arnavk23 arnavk23 commented Oct 9, 2025

#116

| Problem 5. Generalized Broyden tridiagonal function [22]. (OP)
| Problem 6. Generalized Broyden banded function [22]. (OP)
| Problem 7. Seven-diagonal generalization of the Broyden tridiagonal function [7]. (OP)
| Problem 8. Sparse modification of the Nazareth trigonometric function. (NLS)
| Problem 11. Augmented Lagrangian function [7]. (OP)
| Problem 12. Generalization of the Brown function 1 [7]. (OP)
| Problem 13. Generalization of the Brown function 2 [7]. (OP)

@arnavk23
Copy link
Contributor Author

arnavk23 commented Oct 9, 2025

@tmigot please review this pr.

@arnavk23 arnavk23 marked this pull request as draft October 11, 2025 07:26
@tmigot
Copy link
Member

tmigot commented Oct 15, 2025

Hi @arnavk23 Do you need any help finishing up this one?

@arnavk23 arnavk23 requested a review from tmigot October 15, 2025 20:34
@arnavk23 arnavk23 marked this pull request as ready for review October 15, 2025 20:34
@arnavk23 arnavk23 changed the title Luksan/add problems 5 12 Add problems 5-12 except 9,10 Oct 15, 2025
@codecov
Copy link

codecov bot commented Oct 18, 2025

Codecov Report

❌ Patch coverage is 99.31034% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.80%. Comparing base (2ada450) to head (8438c54).
⚠️ Report is 22 commits behind head on main.

Files with missing lines Patch % Lines
src/Meta/auglag.jl 85.71% 1 Missing ⚠️
src/Meta/browngen1.jl 85.71% 1 Missing ⚠️
src/Meta/browngen2.jl 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #375      +/-   ##
==========================================
- Coverage   99.80%   99.80%   -0.01%     
==========================================
  Files        1084     1105      +21     
  Lines       12319    12761     +442     
==========================================
+ Hits        12295    12736     +441     
- Misses         24       25       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@arnavk23
Copy link
Contributor Author

@tmigot All test are passing.

Copy link
Member

@tmigot tmigot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @arnavk23 ! I started having a look, but I am not sure to understand where does these problems come from? They do not match the PDF

arnavk23 and others added 19 commits October 26, 2025 00:56
Co-authored-by: Tangi Migot <[email protected]>
Co-authored-by: Tangi Migot <[email protected]>
@arnavk23 arnavk23 requested a review from tmigot October 26, 2025 00:49
Comment on lines 28 to 48
function F!(r, x; n = length(x))
s = one(T)
nb = div(n, 2) - 1
@inbounds for i = 1:nb
i1 = 2 * i - 1
i2 = 2 * i
i3 = 2 * i + 1
i4 = 2 * i + 2
s += 100 * (x[i2] - x[i1]^2)^2
s += (one(T) - x[i1])^2
s += 90 * (x[i4] - x[i3]^2)^2
s += (one(T) - x[i3])^2
s += 10 * (x[i2] + x[i4] - T(2))^2
s += (one(T) / T(10)) * (x[i2] - x[i4])^2
end
r[1] = sqrt(s)
@inbounds for i = 2:n
r[i] = zero(T)
end
return r
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

f(x) = sum(F(x)[i].^2) so we should see all the terms that are squared in the function F(x) for the NLS-variant, like you did for the others

@arnavk23 arnavk23 requested a review from tmigot October 26, 2025 20:47
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