Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Nonlinear] sparsity pattern of Hessian with :(x * y)

Đang mở
#2,527 18 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@blegat đang làm issue này rồi.

Từ ngày 16/10/2026.

  • #2882 của @mlubin — đã merge
  • #3105 của @blegat — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/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
backend

Hướng nghiên cứu

The sparsity detection for the Hessian of a product term (x * y) in the nonlinear layer is the subject here, so start from the Hessian sparsity code path in src/Nonlinear. Work is already under way: pull request 3105 is open against this issue and pull request 2882 was merged earlier, so read those diffs before changing anything. Done would mean the diagonal non-zeros match what is needed, with the cases from the linked SparseConnectivityTracer comments covered by tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Submodule: Nonlinear

As discussed with @mlubin during JuMP-dev 2024, we recently observed with Guillaume Dalle (@gdalle) that JuMP detects additional non-zeros on the diagonal of the Hessian than what is needed.

We also observed other discrepancies:

I don't think that it's a bug, just a part of the code that was probably not optimized for corner cases.

Ngôn ngữ chính
Julia
Star
506
Fork
103
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của jump-dev/MathOptInterface.jl

Tất cả issue của jump-dev/MathOptInterface.jl

Issue tương tự

Thêm issue về Julia

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.