control-toolbox / control-toolbox/CTDirect.jl

Dual variable of the path constraints

Open
#405 2 comments 0 reactions 2 assignees Claimed by @PierreMartinon View on GitHub
bug
Dominant language
Julia
Stars
12
Forks
5
Avg merge
2h 44m
Merged PRs (30d)
1

Description

When building the solution, we must pass the dual variable of the path constraints:

https://github.com/control-toolbox/CTDirect.jl/blob/9c39f602c3cd7bd94c45ddf87c4ae75494df40b9/src/solution.jl#L46

Actually, the dual variable should be divided by the step length:

https://github.com/control-toolbox/OptimalControl.jl/blob/ea1e64bc9b55dbcd68bf43ac176679c30f3b9421/test/extras/cons.jl#L49

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.