[Tests] NLP equivalence tests between JuMP, ADNLP and Exa

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

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

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

Từ ngày 5/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

paper

Sub-issue of #284 (theme), part 4 of 5. Depends on parts 2 and 3; should start after #363 (#360) is merged.

Scope

In the comparison environment, small grid, every problem :valid in both modelings, every scheme and ordering:

  • JuMP (MathOptNLPModel) ↔ ADNLP: exact (nvar, ncon, bounds, x0, NLPModelsTest.consistent_nlps; Hessian values, not counts).
  • JuMP ↔ Exa: exact for :trapeze. For :euler, :midpoint, :euler_implicit, the gap reported in #284 (Exa has m more controls; only the extreme path constraint differs) is recognised by computation and recorded as a warning in the report; any other difference fails. No hand-written list.

Done when

  • Tests pass exactly JuMP ↔ ADNLP for all schemes and orderings.
  • JuMP ↔ Exa exact for trapeze; the recognised gap reported as a warning for the other schemes, shown to fail on any other difference.

Refs #284

Ngôn ngữ chính
Julia
Star
13
Fork
1
Merge trung bình
3 giờ 24 phút
Pull request đã merge (30 ngày)
34

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

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 control-toolbox/OptimalControlProblems.jl

Tất cả issue của control-toolbox/OptimalControlProblems.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.