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

未关闭
#371 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@ocots 已经在做这个了。

开始于 2026年11月5日。

评估

这个 Issue 还没有评估数据。

描述

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

主要语言
Julia
星标
13
派生
1
平均合并
3 小时 24 分钟
30 天内合并 PR
34

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

control-toolbox/OptimalControlProblems.jl 的其他 Issue

查看 control-toolbox/OptimalControlProblems.jl 的全部 Issue

相似的 Issue

更多 Julia Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。