Migrate OptimizationBase.jl as sublibrary (pure migration) #993
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.
Summary
This PR migrates OptimizationBase.jl to become a sublibrary within Optimization.jl, consolidating the optimization ecosystem into a single repository while maintaining all existing functionality. This is a pure migration with no code changes to OptimizationBase.
This supersedes #982 with a clean migration approach.
Motivation
Key Changes
🏗️ Migration Infrastructure
lib/OptimizationBase/
(pure copy from original repo)🔧 CI Configuration
Files Changed
Core Migration
lib/OptimizationBase/
: Complete OptimizationBase source code and tests (27 files - pure copy)src/Optimization.jl
: Updated to include OptimizationBase as submoduleProject.toml
: Added OptimizationBase dependencies and removed external OptimizationBase dependencyCI and Testing
.github/workflows/CI.yml
: Added OptimizationBase to test matrix and coverageTesting Results
✅ OptimizationBase sublibrary: All original tests preserved unchanged
✅ Main Optimization.jl: Successfully loads with embedded OptimizationBase
✅ All functionality preserved: No breaking changes to existing API
Breaking Changes
None. This is a purely internal restructuring that maintains all existing public APIs.
Important Note
This is a pure migration - all OptimizationBase code is copied exactly as-is from the original repository with zero modifications.
Checklist
Related Issues
Closes #982 (replaces with clean migration)
🤖 Generated with Claude Code