[Dev] JuMP models for Euler, implicit Euler and midpoint

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

维护者通常 1 天内回复

@ocots 已经在做这个了。

开始于 2026年11月5日。

评估

这个 Issue 还没有评估数据。

描述

paper

Sub-issue of #284 (theme), part 2 of 5. Depends on part 1 (https://github.com/control-toolbox/OptimalControlProblems.jl/issues/368). Should start after #363 (#360) is merged: it touches the same test files.

Scope

  • :euler, :euler_implicit, :midpoint in schemes.jl, with the CTDirect conventions of the spec comment of #284 (N controls; path constraints at the N+1 nodes, the extreme node reusing U_N, or U_1 for implicit Euler).
  • API: grid_size and scheme named and valued as in OptimalControl.Collocation; model[:scheme].
  • Control counts per scheme in the JuMP accessors, in the construction of a Solution (#329: control time grid, control_interpolation), and in the contract tests (#304).

Done when

  • Four schemes for every JuMP problem.
  • Accessors, Solution construction and contract tests handle N vs N+1 controls.

Refs #284

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

环境准备

  • 没有 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 摘要。