Skip to content

Conversation

ChrisRackauckas-Claude
Copy link

Summary

This PR updates all Optimization.jl sublibraries to require OptimizationBase v3 instead of v2.13, and increments the version numbers of all sublibraries according to semantic versioning conventions.

Changes

Version Requirement Updates

  • Updated all sublibraries to require OptimizationBase = "3" instead of OptimizationBase = "2.13"

Version Bumps

Following the convention where:

  • Packages with version ≥ 1.0.0 get a minor version bump (x.y.z → x.(y+1).0)
  • Packages with version < 1.0.0 get a patch version bump (0.y.z → 0.y.(z+1))

Packages bumped to next minor version (≥ 1.0.0):

  • OptimizationAuglag: 1.0.0 → 1.1.0
  • OptimizationLBFGSB: 1.0.0 → 1.1.0
  • OptimizationManopt: 1.0.0 → 1.1.0
  • OptimizationPyCMA: 1.1.0 → 1.2.0
  • OptimizationSophia: 1.0.0 → 1.1.0

Packages bumped to next patch version (< 1.0.0):

  • OptimizationBBO: 0.4.2 → 0.4.3
  • OptimizationCMAEvolutionStrategy: 0.3.2 → 0.3.3
  • OptimizationEvolutionary: 0.4.2 → 0.4.3
  • OptimizationGCMAES: 0.3.1 → 0.3.2
  • OptimizationIpopt: 0.2.2 → 0.2.3
  • OptimizationMetaheuristics: 0.3.2 → 0.3.3
  • OptimizationMOI: 0.5.7 → 0.5.8
  • OptimizationMultistartOptimization: 0.3.1 → 0.3.2
  • OptimizationNLopt: 0.3.4 → 0.3.5
  • OptimizationNLPModels: 0.0.2 → 0.0.3
  • OptimizationNOMAD: 0.3.2 → 0.3.3
  • OptimizationODE: 0.1.2 → 0.1.3
  • OptimizationOptimisers: 0.3.11 → 0.3.12
  • OptimizationOptimJL: 0.4.5 → 0.4.6
  • OptimizationPolyalgorithms: 0.3.1 → 0.3.2
  • OptimizationPRIMA: 0.3.1 → 0.3.2
  • OptimizationQuadDIRECT: 0.3.1 → 0.3.2
  • OptimizationSciPy: 0.4.2 → 0.4.3
  • OptimizationSpeedMapping: 0.2.1 → 0.2.2

Notes

  • No changes were made to the top-level Optimization.jl package as requested
  • OptimizationBase itself was not modified since this PR only updates dependencies on it
  • All 24 sublibraries have been updated consistently

🤖 Generated with Claude Code

ChrisRackauckas and others added 4 commits October 6, 2025 19:34
…ions

- Updated all sublibraries to require OptimizationBase v3 instead of v2.13
- Bumped minor version for packages >= 1.0.0 (e.g., 1.0.0 -> 1.1.0)
- Bumped patch version for packages < 1.0.0 (e.g., 0.3.1 -> 0.3.2)

Updated sublibraries:
- OptimizationAuglag: 1.0.0 -> 1.1.0
- OptimizationBBO: 0.4.2 -> 0.4.3
- OptimizationCMAEvolutionStrategy: 0.3.2 -> 0.3.3
- OptimizationEvolutionary: 0.4.2 -> 0.4.3
- OptimizationGCMAES: 0.3.1 -> 0.3.2
- OptimizationIpopt: 0.2.2 -> 0.2.3
- OptimizationLBFGSB: 1.0.0 -> 1.1.0
- OptimizationManopt: 1.0.0 -> 1.1.0
- OptimizationMetaheuristics: 0.3.2 -> 0.3.3
- OptimizationMOI: 0.5.7 -> 0.5.8
- OptimizationMultistartOptimization: 0.3.1 -> 0.3.2
- OptimizationNLopt: 0.3.4 -> 0.3.5
- OptimizationNLPModels: 0.0.2 -> 0.0.3
- OptimizationNOMAD: 0.3.2 -> 0.3.3
- OptimizationODE: 0.1.2 -> 0.1.3
- OptimizationOptimisers: 0.3.11 -> 0.3.12
- OptimizationOptimJL: 0.4.5 -> 0.4.6
- OptimizationPolyalgorithms: 0.3.1 -> 0.3.2
- OptimizationPRIMA: 0.3.1 -> 0.3.2
- OptimizationPyCMA: 1.1.0 -> 1.2.0
- OptimizationQuadDIRECT: 0.3.1 -> 0.3.2
- OptimizationSciPy: 0.4.2 -> 0.4.3
- OptimizationSophia: 1.0.0 -> 1.1.0
- OptimizationSpeedMapping: 0.2.1 -> 0.2.2

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Removed local path dependencies to OptimizationBase from all sublibrary Project.toml files.
The packages will now resolve OptimizationBase from the registry instead of using local paths.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Changed all test files to use OptimizationBase instead of Optimization.jl.
OptimizationBase re-exports SciMLBase which provides OptimizationFunction
and OptimizationProblem, so tests will work correctly without depending
on the main Optimization.jl package.

Changes:
- Replaced "using Optimization" with "using OptimizationBase" in 25 test files
- No changes needed to test logic since OptimizationBase re-exports the necessary types

This ensures sublibraries do not depend on Optimization.jl, only OptimizationBase.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ChrisRackauckas
Copy link
Member

LTS fails because sources isn't used.

ChrisRackauckas and others added 2 commits October 7, 2025 01:39
- Added OptimizationLBFGSB to [extras] and [targets] test array
- This package is used in the OptimizationNLPModels test suite
- Fixes test errors related to missing OptimizationLBFGSB package

Note: OptimizationAuglag already has SciMLBase in [deps], so it should be available.
OptimizationMultistartOptimization doesn't have any Optimization.jl dependencies.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
The module was using SciMLBase qualified names (e.g., SciMLBase.supports_opt_cache_interface)
but only importing specific symbols from it. Added full `using SciMLBase` statement
to make the module name available for qualified access.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ChrisRackauckas-Claude
Copy link
Author

Updates

Added fixes for test dependencies and missing imports:

  1. OptimizationNLPModels: Added OptimizationLBFGSB to test dependencies ([extras] and [targets])
  2. OptimizationAuglag: Added missing using SciMLBase statement - the module was using qualified SciMLBase names but only importing specific symbols

These changes address the test failures mentioned in the CI runs.

Commits:

  • 5c34dbf: Add OptimizationLBFGSB test dependency to OptimizationNLPModels
  • 415b56d: Add missing using SciMLBase to OptimizationAuglag

@ChrisRackauckas ChrisRackauckas merged commit 0ffe58f into SciML:master Oct 7, 2025
41 of 77 checks passed
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