`argtrig` is not what it claims
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- julia
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
Start by comparing the argtrig implementation in both ADNLPProblems and PureJuMP with the cited MGH problem and CUTEst definitions; the issue links the ADNLPProblems source and describes the discrepancies. Then inspect the metadata and the PureJuMP docstring, which the issue says is copied from arglina. Done when the function, metadata, and docstring consistently describe the intended problem; the issue does not specify which formulation should be authoritative.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
argtrig (both ADNLPProblems and PureJuMP) minimizes the scalar function https://github.com/JuliaSmoothOptimizers/OptimizationProblems.jl/blob/739fc30814878775f500d76284834b366fcdcc68/src/ADNLPProblems/argtrig.jl#L5
The metadata cites problem 26 of Moré, Garbow and Hillstrom (1981) and CUTEst:ARGTRIG, but this function matches neither:
- MGH problem 26 (the trigonometric function) is a nonlinear least-squares problem with n residuals
r_i(x) = n - sum_j cos x_j + i (1 - cos x_i) - sin x_i, objectivesum_i r_i^2, and minimum 0. - CUTEst's ARGTRIG.SIF poses these residuals as a system of n nonlinear equations (classification NOR2-AN-V-V), but multiplies
sin x_iby i. ARGTRIGLS.SIF is the least-squares form of ARGTRIG. ARGTRIG2 and ARGTRIGLS2 use the coefficient 1 onsin x_ifrom the source.
argtrig's f looks like the sum of the residuals (not their squares), with i replaced by j. It equals n - n(n+1)/2 + sum_j [(j-1) cos x_j + sin x_j], which is separable, and its minimum is n - n(n+1)/2 - sum_j sqrt((j-1)^2 + 1): -92.306 for n = 10 and -9903.48 for n = 100. The metadata's :best_known_upper_bound => 0.0 is the minimum of the MGH problem, not of this function.
The metadata are also inconsistent. The notes (copied from the SIF header) describe "a sum of n least-squares groups" with classification NOR2-AN-V-V, while :objtype => :other and :ncon => 0. The PureJuMP docstring, "Linear function with n parameters and m observations - full rank", is the one for arglina.
- Ngôn ngữ chính
- Julia
- Star
- 90
- Fork
- 48
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của JuliaSmoothOptimizers/OptimizationProblems.jl
-
`biggs6` disagrees with CUTEst and is unbounded belowCó thể đã có người làm @timholy đã nhận 27 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
JuliaSmoothOptimizers/OptimizationProblems.jl#440 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
JuliaSmoothOptimizers/OptimizationProblems.jl#480 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
JuliaSmoothOptimizers/OptimizationProblems.jl#442 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Move repo to Julia 1.10 LTSĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
JuliaSmoothOptimizers/OptimizationProblems.jl#425 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
JuliaSmoothOptimizers/OptimizationProblems.jl#419 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của JuliaSmoothOptimizers/OptimizationProblems.jl
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 1 ngày
-
lux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
JuliaGraphs/GraphNeuralNetworks.jl#732 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
erfinv(::Float16) and erfcinv(::Float16) are wrong for abs(x) <= 0.75 (erfinv(Float16(0)) == 0.2201)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
JuliaMath/SpecialFunctions.jl#571 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100