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

Đang mở
#369 0 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 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

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

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.