control-toolbox / OptimalControlProblems.jl

Optimal control problems for Julia
http://control-toolbox.org/OptimalControlProblems.jl/
MIT License
10 stars 1 forks source link

[Dev] Add CTDirect.jl test problems #11

Open ocots opened 2 months ago

ocots commented 2 months ago

The list of problems is here: https://github.com/control-toolbox/CTDirect.jl/tree/main/test/problems.

0Yassine0 commented 2 months ago

@ocots Should we add the full list of problems from CTDirect.jl to the package? And problems are written as OptimalControl models, I suppose we also need to convert it into JuMP models?

ocots commented 2 months ago

@PierreMartinon What do you think?

0Yassine0 commented 1 month ago

Here is the list of models from CTDirect :

ocots commented 1 month ago

C'est très bien on n'ajoute pas les problèmes trop simpliste. Ils seront garder en interne.

PierreMartinon commented 2 weeks ago

A bit late to the party, sorry.

@ocots, on our last meeting we discussed the issue of the format, eg in CTDirect the problem functions now return a 4-tuple such as

    def goddard begin
     ...
    end

    return ((
        ocp = goddard,
        obj = 1.01257,
        name = "goddard",
        init = (state = [1.01, 0.05, 0.8],),
    ))

Is is unlikely we will find a common format for every framework, but I don't recall what we agreed upon: try to mutualize, have multiple versions of some problems here, or keep separate versions in each package ?