From f0617d7ca92cf584a0eaaa13e3cbf1cdd9b32c53 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Caillau Date: Mon, 12 May 2025 09:11:10 +0200 Subject: [PATCH 1/4] up CTParser 0.3 --- Project.toml | 2 +- src/OptimalControl.jl | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 602b2efe..a7b9b9ad 100644 --- a/Project.toml +++ b/Project.toml @@ -17,7 +17,7 @@ CTBase = "0.16" CTDirect = "0.14" CTFlows = "0.8" CTModels = "0.3" -CTParser = "0.2" +CTParser = "0.3" CommonSolve = "0.2" DocStringExtensions = "0.9" julia = "1.10" diff --git a/src/OptimalControl.jl b/src/OptimalControl.jl index 8eee11a9..7796dde2 100644 --- a/src/OptimalControl.jl +++ b/src/OptimalControl.jl @@ -96,9 +96,12 @@ export initial_time, message, infos +# ExaModels +import ExaModels + # CTParser -import CTParser: CTParser, @def -export @def +import CTParser: CTParser, parsing_backend, parsing_backend!, @def +export parsing_backend, parsing_backend!, @def # CTDirect import CTDirect: CTDirect, direct_transcription, set_initial_guess, build_OCP_solution From 363c4a4a8b0bc831767440e3222325d855becd80 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Caillau Date: Tue, 13 May 2025 20:43:28 +0200 Subject: [PATCH 2/4] updated CTParser to 0.3 --- Project.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Project.toml b/Project.toml index a7b9b9ad..1ef58cdb 100644 --- a/Project.toml +++ b/Project.toml @@ -11,6 +11,7 @@ CTModels = "34c4fa32-2049-4079-8329-de33c2a22e2d" CTParser = "32681960-a1b1-40db-9bff-a1ca817385d1" CommonSolve = "38540f10-b2f7-11e9-35d8-d573e4eb0ff2" DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" +ExaModels = "1037b233-b668-4ce9-9b63-f9f681f55dd2" [compat] CTBase = "0.16" @@ -20,4 +21,5 @@ CTModels = "0.3" CTParser = "0.3" CommonSolve = "0.2" DocStringExtensions = "0.9" +ExaModels = "0.8.0" julia = "1.10" From a405bba1dd1c6b5152b0735afd91fc6b3eee7d25 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Caillau Date: Tue, 13 May 2025 22:36:32 +0200 Subject: [PATCH 3/4] bump CTParser 0.3 in docs --- docs/Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Project.toml b/docs/Project.toml index a398981b..fc19d3c7 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -20,7 +20,7 @@ CTBase = "0.16" CTDirect = "0.14" CTFlows = "0.8" CTModels = "0.3" -CTParser = "0.2" +CTParser = "0.3" Documenter = "1.8" DocumenterMermaid = "0.2" JLD2 = "0.5" From bb9c789a8e9938fbfc82b6ea2525b2b82dc0d105 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Caillau Date: Tue, 13 May 2025 23:27:19 +0200 Subject: [PATCH 4/4] added export on ExaModels types --- src/OptimalControl.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OptimalControl.jl b/src/OptimalControl.jl index 7796dde2..4f3a73a4 100644 --- a/src/OptimalControl.jl +++ b/src/OptimalControl.jl @@ -97,7 +97,8 @@ export initial_time, infos # ExaModels -import ExaModels +import ExaModels: ExaModels +export ExaModels # CTParser import CTParser: CTParser, parsing_backend, parsing_backend!, @def