compat: support CTBase 0.25 (beta)#277
Closed
ocots wants to merge 2 commits into
Closed
Conversation
CTParser only uses CTBase.ctindices / CTBase.ctupperscripts, both present in CTBase 0.25, so bump the bounds to unblock the CTModels 0.13 / CTSolvers 0.4 / CTBase 0.25 stack (Parameters 0.13 and OrderedCollections 2 are pulled by the new stack). - CTBase = "0.25" - Parameters = "0.12, 0.13" - OrderedCollections = "1, 2" - version -> 0.8.16-beta This beta only validates the ADNLPModels path, which is what CTDirect needs. The ExaModels integration still has to be migrated (see PR description). Verified: CTParser precompiles and loads against CTBase 0.25.0-beta. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- test/Project.toml: CTBase 0.25, CTModels 0.13, ExaModels "0.9, 0.11", CUDA "5, 6", MadNLP/MadNLPGPU bumps, OrderedCollections "1, 2" - docs/Project.toml: CTBase 0.25 - test_control_zero.jl: CTModels.OCP submodule was removed in CTModels 0.13; use CTModels.* directly Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ocots
marked this pull request as draft
June 27, 2026 08:53
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Part of the CTBase 0.25 ecosystem migration. CTModels 0.13 / CTSolvers 0.4 / CTBase 0.25 form a consistent stack, but CTParser was still pinned to
CTBase = "0.18", which blocked resolving that stack downstream (notably the CTDirect test environment, where CTParser is a test dependency used to define OCPs via@def).CTParser only uses
CTBase.ctindices/CTBase.ctupperscripts, both of which still exist in CTBase 0.25, so this is a pure compat bump.Changes
CTBase = "0.25"Parameters = "0.12, 0.13"(Parameters 0.13 is pulled by CTModels 0.13)OrderedCollections = "1, 2"(pulled by the new stack)version -> 0.8.16-betaVerified: CTParser precompiles and loads against CTBase 0.25.0-beta.
Scope — this is a beta
This release only validates the ADNLPModels path, which is sufficient to unblock CTDirect. It is intentionally shipped as a beta.
This PR does not migrate the ExaModels integration. ExaModels must be bumped to 0.11, which implies non-trivial changes to the ExaModels call sites (the 0.10 → 0.11 API change is substantial). That migration is out of scope for this beta and should be done in a dedicated follow-up before a non-beta release.
🤖 Generated with Claude Code