Skip to content

Develop#573

Draft
ocots wants to merge 7 commits intomainfrom
develop
Draft

Develop#573
ocots wants to merge 7 commits intomainfrom
develop

Conversation

@ocots
Copy link
Member

@ocots ocots commented Mar 6, 2026

No description provided.

ocots and others added 7 commits February 11, 2026 14:22
* chore: add CTBase v0.17 compat

* chore: bump version to 0.17.5-beta

* Refactor: restructure discretization architecture

- Remove extension files (ADNLP, Exa, Ipopt, Knitro, MadNLP)
- Add new discretization API and core types
- Implement collocation method in separate module
- Update main module structure and solve interface
- Modify Project.toml dependencies

* Migrating interfacing code from CTSolvers to CTDirect

* resync with previous branch ctsolvers (removing lagrange_to_mayer transformation)

* packahe compilation and unit tests (no solving) ok

* add new solve test

* basic manual DOCP solve ok for beam/adnlp/ipopt

* no display

* empty init as () instead of nothing; todo: pass kwargs to check_problem

* prepare exa builder

* julia 1.12

* exa cpu

* common docp

* ipopt beam ok with adnlp / exa

* shared docp and exa_getter in collocation

* grid size and scheme options ok

* discretization tests ok

* madnlp ok

* tests for modeler/solver options; starting to unify solution builder for adnlp/exa with new generic getter for adnlp

* unified parsing for primal variables and box multipliers

* todo: check initial guess and adnlp_backend

* adnlp: initial guess ok except interpolations and warm start

* warm start and continuation ok

* initial guess with interpolations ok

* CPU tests ok

* put back gpu tests if available

* updated GPU tests

* unified high level getter for primal and dual variables (ADNLP)

* tests ok after unified getter and dual variables parsing

* regroup source code in collocation files

* code cleanup for collocation main functions

* pass exa backend for gpu tests

* fix exa_backend option name: backend

* Add SSH_KEY secret to CI workflow (#541)

Updated GPU backend options and added Julia registry setup step.

* Add SSH_KEY secret to CI workflow

* Modify GPU workflow to use 'kkt' backend, removed 'amdgpu' for now

* keep DOCP in Collocation

* local tests ok

* fix gpu test goddard2

* update docs

* update docs

* docs build ok

* complete doc files

* update to CTParser 0.8

* compat

* reorg sourc files

* update doc files

* test init macro

* force ocp_model getter use; aqua test ok

* update for latest CTSolvers

* local tests ok

* fix gpu tests (grid size)

* Update documentation workflow to use CT registry

* Fix coverage workflow: add SSH_KEY secret reference

* update local benchmark

---------

Co-authored-by: Pierre Martinon <pierrecmartinon@gmail.com>
* julia 1.10

* proper kwargs/defaults for model builders; normalized path constraints multipliers

* give linear solver for GPU tests

* gpu: recheck goddard2

* gpu: display true

* gpu: goddard2 tol 1e-8

* add final rf constraint in goddard2 for GPU tests

* stricter tolerances for goddard2 gpu test

* madnlp dict option for bound_relax_factor

* typo

* typo

* disable goddard

* rodjidju
* Update Project.toml

* Update collocation and test files

* Update test files

* Update test files again

* IpoptSolver -> Ipopt

* MadNLPSolver -> MadNLP

* AbstractOptimalControlDiscretizer -> AbstractDiscretizer

* AbstractOptimalControlInitialGuess -> AbstractInitialGuess

* AbstractOptimalControlProblem -> AbstractModel

* version 1.0.2-beta

---------

Co-authored-by: Pierre Martinon <pierrecmartinon@gmail.com>
- Remove unused is_solvable function from collocation_core.jl
- Clean up documentation dependencies in docs/Project.toml
- Add documentation generation script docs/doc.jl
- Update imports and dependencies across multiple files
- Remove unused test files and dependencies
- General code cleanup and formatting improvements
- Replace manual API pages with automatic generation using CTBase.automatic_reference_documentation
- Create api_reference.jl inspired by CTSolvers.jl structure
- Update make.jl to use CTBase DocumenterReference extension
- Remove exports from CTDirect.jl to keep API private
- Generate coherent documentation organized by modules (Core, Collocation, Discretization)
- Add proper index.md with package overview
- Clean up old manual documentation files
refactor: clean up codebase and documentation
@ocots ocots marked this pull request as draft March 6, 2026 08:17
@github-actions github-actions bot requested a review from PierreMartinon March 6, 2026 08:17
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Breakage test results
Date: 2026-03-06 08:21:36

Name Latest Stable
OptimalControl compat: v0.17.5-beta compat: v1.0.2-beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants