Skip to content

Pb with zero in dyn rhs? #190

@jbcaillau

Description

@jbcaillau

@PierreMartinon

@def ocp2 begin
    s  [0, 1], time
    y = (x, tf)  R², state
    u  R, control
    dx = tf(s)^2 * u(s)
    dtf = 0 # while 0 * u(s) is fine 😱 (1)
    (s) == [dx, dtf]
    x(0) == 0
    x(1) == 1
    tf(1) + 0.5(tf(s) * u(s)^2)  min
end

(1) check #189

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions