[Doc] review of examples published on the website
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 24/3/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
OptimalControlProblems Website Examples Review
Report on macOS-ARM (M1)
Tested from a fresh environment (rm -fr $HOME/.julia).
Julia version: 1.12.5 (Julia 1.12.5+0.aarch64.apple.darwin14).
Ran all examples from https://control-toolbox.github.io/OptimalControlProblems.jl/stable/
Global Remarks
Erroneous Comment (All examples except beam of course)
First line comment is incorrect:
using OptimalControlProblems # to access the Beam model
Console Output Formatting
Third cell output (e.g., metadata(:beam)[:parameters]) lacks website formatting:
julia> metadata(:beam)[:parameters]
(t0 = 0, tf = 1, x₁_l = 0, x₁_u = 0.1, x₁_t0 = 0, x₂_t0 = 1, x₁_tf = 0, x₂_tf = -1)
Website shows prettier named tuple
Plot Label Differences (Final Plots)
| Local | Website |
|---|---|
| No "JuMP" in labels (red curves plotted OK) | Single global label (top-left) |
| Per-subplot labels | One global label |
Plotting loop issue? Cell 3 and final cell code is/looks similar....
Package Installation
Adding OptimalControlProblems
(@v1.12) pkg> add OptimalControlProblems
# ...
⌅ [54762871] + CTBase v0.16.2
⌅ [790bbbee] + CTDirect v0.17.4
⌅ [34c4fa32] + CTModels v0.6.9
⌅ [be4d8f0f] + Quadmath v0.5.13
# ⌃/⌅: New versions available; ⌅ blocked by compatibility constraints.
Why aren't CT* packages up-to-date? then installing OptimalControlProblems on a fresh/empty environment ?
macOS-Specific Warning
(@v1.12) pkg> add NLPModelsIpopt
# ...
┌ Warning: MKL is not available/installed.
└ @ MKL ~/.julia/packages/MKL/JVoAz/src/MKL.jl:39
MKL unavailable on ARM/macOS.[1]
Minor Numerical Differences
Small discrepancies versus website results (optimal values). Likely due to ARM vs Intel floating-point behavior, I guess
- 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
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của control-toolbox/OptimalControlProblems.jl
-
[Metadata] Declared fields: tags, references, Corleone, reference solutionCó thể đã có người làm @ocots đã nhận hôm nay. Đang mở
control-toolbox/OptimalControlProblems.jl#379 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Cron] Robustness of the initial guess and known local objectivesCó thể đã có người làm @ocots đã nhận hôm nay. Đang mở
control-toolbox/OptimalControlProblems.jl#378 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Metadata] Shared initial guess in the metadata, read by every modelingCó thể đã có người làm @ocots đã nhận hôm nay. Đang mở
control-toolbox/OptimalControlProblems.jl#377 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Metadata] Compute the features of a problem from its modelCó thể đã có người làm @ocots đã nhận hôm nay. Đang mở
control-toolbox/OptimalControlProblems.jl#376 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Metadata] Reference objectives per scheme, computed by a scriptCó thể đã có người làm @ocots đã nhận hôm nay. Đang mở
control-toolbox/OptimalControlProblems.jl#375 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của control-toolbox/OptimalControlProblems.jl
Issue tương tự
-
backport 1.14 GC
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
JuliaDiff/TaylorSeries.jl#445 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
control-toolbox/CTActions#139 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
SciML/Optimization.jl#1448 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
SciML/PETScDiffEq.jl#362 ·
Maintainer thường phản hồi trong vòng 1 ngày