Skip to content

Commit 2e63958

Browse files
Merge pull request #264 from SciML/optimization
Rename to Optimization.jl
2 parents 76943ab + d79e5e9 commit 2e63958

File tree

107 files changed

+555
-555
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+555
-555
lines changed

.github/workflows/CI.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ jobs:
1515
matrix:
1616
group:
1717
- Core
18-
- GalacticBBO
19-
- GalacticCMAEvolutionStrategy
20-
- GalacticEvolutionary
21-
- GalacticFlux
22-
- GalacticGCMAES
23-
- GalacticMetaheuristics
24-
- GalacticMOI
25-
- GalacticMultistartOptimization
26-
- GalacticNLopt
27-
#- GalacticNonconvex
28-
- GalacticNOMAD
29-
- GalacticOptimJL
30-
- GalacticOptimisers
31-
- GalacticQuadDIRECT
32-
- GalacticSpeedMapping
33-
- GalacticPolyalgorithms
18+
- OptimizationBBO
19+
- OptimizationCMAEvolutionStrategy
20+
- OptimizationEvolutionary
21+
- OptimizationFlux
22+
- OptimizationGCMAES
23+
- OptimizationMetaheuristics
24+
- OptimizationMOI
25+
- OptimizationMultistartOptimization
26+
- OptimizationNLopt
27+
#- OptimizationNonconvex
28+
- OptimizationNOMAD
29+
- OptimizationOptimJL
30+
- OptimizationOptimisers
31+
- OptimizationQuadDIRECT
32+
- OptimizationSpeedMapping
33+
- OptimizationPolyalgorithms
3434
version:
3535
- '1'
3636
- '1.6'

Project.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
name = "GalacticOptim"
2-
uuid = "a75be94c-b780-496d-a8a9-0878b188d577"
3-
authors = ["Vaibhavdixit02 <[email protected]>"]
1+
name = "Optimization"
2+
uuid = "7f7a1694-90dd-40f0-9382-eb1efda571ba"
43
version = "3.5.0"
54

65
[deps]

README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,65 @@
1-
# GalacticOptim.jl
1+
# Optimization.jl
22

3-
[![Build Status](https://github.com/SciML/GalacticOptim.jl/workflows/CI/badge.svg)](https://github.com/SciML/GalacticOptim.jl/actions?query=workflow%3ACI)
4-
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](http://galacticoptim.sciml.ai/stable/)
5-
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](http://galacticoptim.sciml.ai/dev/)
3+
[![Build Status](https://github.com/SciML/Optimization.jl/workflows/CI/badge.svg)](https://github.com/SciML/Optimization.jl/actions?query=workflow%3ACI)
4+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](http://Optimization.sciml.ai/stable/)
5+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](http://Optimization.sciml.ai/dev/)
66

7-
GalacticOptim.jl is a package with a scope that is beyond your normal global optimization
8-
package. GalacticOptim.jl seeks to bring together all of the optimization packages
7+
Optimization.jl is a package with a scope that is beyond your normal global optimization
8+
package. Optimization.jl seeks to bring together all of the optimization packages
99
it can find, local and global, into one unified Julia interface. This means, you
10-
learn one package and you learn them all! GalacticOptim.jl adds a few high-level
10+
learn one package and you learn them all! Optimization.jl adds a few high-level
1111
features, such as integrating with automatic differentiation, to make its usage
1212
fairly simple for most cases, while allowing all of the options in a single
1313
unified interface.
1414

1515
## Installation
1616

1717
Assuming that you already have Julia correctly installed, it suffices to import
18-
GalacticOptim.jl in the standard way:
18+
Optimization.jl in the standard way:
1919

2020
```julia
21-
import Pkg; Pkg.add("GalacticOptim")
21+
import Pkg; Pkg.add("Optimization")
2222
```
23-
The packages relevant to the core functionality of GalacticOptim.jl will be imported
23+
The packages relevant to the core functionality of Optimization.jl will be imported
2424
accordingly and, in most cases, you do not have to worry about the manual
2525
installation of dependencies. Below is the list of packages that need to be
2626
installed explicitly if you intend to use the specific optimization algorithms
2727
offered by them:
2828

29-
- GalacticBBO for [BlackBoxOptim.jl](https://github.com/robertfeldt/BlackBoxOptim.jl)
30-
- GalacticEvolutionary for [Evolutionary.jl](https://github.com/wildart/Evolutionary.jl) (see also [this documentation](https://wildart.github.io/Evolutionary.jl/dev/))
31-
- GalacticGCMAES for [GCMAES.jl](https://github.com/AStupidBear/GCMAES.jl)
32-
- GalacticMOI for [MathOptInterface.jl](https://github.com/jump-dev/MathOptInterface.jl) (usage of algorithm via MathOptInterface API; see also the API [documentation](https://jump.dev/MathOptInterface.jl/stable/))
33-
- GalacticMetaheuristics for [Metaheuristics.jl](https://github.com/jmejia8/Metaheuristics.jl) (see also [this documentation](https://jmejia8.github.io/Metaheuristics.jl/stable/))
34-
- GalacticMultistartOptimization for [MultistartOptimization.jl](https://github.com/tpapp/MultistartOptimization.jl) (see also [this documentation](https://juliahub.com/docs/MultistartOptimization/cVZvi/0.1.0/))
35-
- GalacticNLopt for [NLopt.jl](https://github.com/JuliaOpt/NLopt.jl) (usage via the NLopt API; see also the available [algorithms](https://nlopt.readthedocs.io/en/latest/NLopt_Algorithms/))
36-
- GalacticNOMAD for [NOMAD.jl](https://github.com/bbopt/NOMAD.jl) (see also [this documentation](https://bbopt.github.io/NOMAD.jl/stable/))
37-
- GalacticNonconvex for [Nonconvex.jl](https://github.com/JuliaNonconvex/Nonconvex.jl) (see also [this documentation](https://julianonconvex.github.io/Nonconvex.jl/stable/))
38-
- GalacticQuadDIRECT for [QuadDIRECT.jl](https://github.com/timholy/QuadDIRECT.jl)
39-
- GalacticSpeedMapping for [SpeedMapping.jl](https://github.com/NicolasL-S/SpeedMapping.jl) (see also [this documentation](https://nicolasl-s.github.io/SpeedMapping.jl/stable/))
29+
- OptimizationBBO for [BlackBoxOptim.jl](https://github.com/robertfeldt/BlackBoxOptim.jl)
30+
- OptimizationEvolutionary for [Evolutionary.jl](https://github.com/wildart/Evolutionary.jl) (see also [this documentation](https://wildart.github.io/Evolutionary.jl/dev/))
31+
- OptimizationGCMAES for [GCMAES.jl](https://github.com/AStupidBear/GCMAES.jl)
32+
- OptimizationMOI for [MathOptInterface.jl](https://github.com/jump-dev/MathOptInterface.jl) (usage of algorithm via MathOptInterface API; see also the API [documentation](https://jump.dev/MathOptInterface.jl/stable/))
33+
- OptimizationMetaheuristics for [Metaheuristics.jl](https://github.com/jmejia8/Metaheuristics.jl) (see also [this documentation](https://jmejia8.github.io/Metaheuristics.jl/stable/))
34+
- OptimizationMultistartOptimization for [MultistartOptimization.jl](https://github.com/tpapp/MultistartOptimization.jl) (see also [this documentation](https://juliahub.com/docs/MultistartOptimization/cVZvi/0.1.0/))
35+
- OptimizationNLopt for [NLopt.jl](https://github.com/JuliaOpt/NLopt.jl) (usage via the NLopt API; see also the available [algorithms](https://nlopt.readthedocs.io/en/latest/NLopt_Algorithms/))
36+
- OptimizationNOMAD for [NOMAD.jl](https://github.com/bbopt/NOMAD.jl) (see also [this documentation](https://bbopt.github.io/NOMAD.jl/stable/))
37+
- OptimizationNonconvex for [Nonconvex.jl](https://github.com/JuliaNonconvex/Nonconvex.jl) (see also [this documentation](https://julianonconvex.github.io/Nonconvex.jl/stable/))
38+
- OptimizationQuadDIRECT for [QuadDIRECT.jl](https://github.com/timholy/QuadDIRECT.jl)
39+
- OptimizationSpeedMapping for [SpeedMapping.jl](https://github.com/NicolasL-S/SpeedMapping.jl) (see also [this documentation](https://nicolasl-s.github.io/SpeedMapping.jl/stable/))
4040

4141
## Tutorials and Documentation
4242

4343
For information on using the package,
44-
[see the stable documentation](https://galacticoptim.sciml.ai/stable/). Use the
45-
[in-development documentation](https://galacticoptim.sciml.ai/dev/) for the version of
44+
[see the stable documentation](https://Optimization.sciml.ai/stable/). Use the
45+
[in-development documentation](https://Optimization.sciml.ai/dev/) for the version of
4646
the documentation, which contains the unreleased features.
4747

4848
## Examples
4949

5050
```julia
51-
using GalacticOptim
51+
using Optimization
5252
rosenbrock(x,p) = (p[1] - x[1])^2 + p[2] * (x[2] - x[1]^2)^2
5353
x0 = zeros(2)
5454
p = [1.0,100.0]
5555

5656
prob = OptimizationProblem(rosenbrock,x0,p)
5757

58-
using GalacticOptimJL
58+
using OptimizationOptimJL
5959
sol = solve(prob,NelderMead())
6060

6161

62-
using GalacticBBO
62+
using OptimizationBBO
6363
prob = OptimizationProblem(rosenbrock, x0, p, lb = [-1.0,-1.0], ub = [1.0,1.0])
6464
sol = solve(prob,BBO_adaptive_de_rand_1_bin_radiuslimited())
6565
```
@@ -99,7 +99,7 @@ We can also explore other methods in a similar way:
9999

100100
```julia
101101
using ForwardDiff
102-
f = OptimizationFunction(rosenbrock, GalacticOptim.AutoForwardDiff())
102+
f = OptimizationFunction(rosenbrock, Optimization.AutoForwardDiff())
103103
prob = OptimizationProblem(f, x0, p)
104104
sol = solve(prob,BFGS())
105105
```
@@ -132,6 +132,6 @@ For instance, the above optimization task produces the following output:
132132
prob = OptimizationProblem(f, x0, p, lb = [-1.0,-1.0], ub = [1.0,1.0])
133133
sol = solve(prob, Fminbox(GradientDescent()))
134134
```
135-
The examples clearly demonstrate that GalacticOptim.jl provides an intuitive
135+
The examples clearly demonstrate that Optimization.jl provides an intuitive
136136
way of specifying optimization tasks and offers a relatively
137137
easy access to a wide range of optimization algorithms.

docs/make.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
using Documenter, GalacticOptim
1+
using Documenter, Optimization
22
using FiniteDiff, ForwardDiff, ModelingToolkit, ReverseDiff, Tracker, Zygote
33

44
makedocs(
5-
sitename="GalacticOptim.jl",
5+
sitename="Optimization.jl",
66
authors="Chris Rackauckas, Vaibhav Kumar Dixit et al.",
77
clean=true,
88
doctest=false,
9-
modules=[GalacticOptim, GalacticOptim.SciMLBase, FiniteDiff,
9+
modules=[Optimization, Optimization.SciMLBase, FiniteDiff,
1010
ForwardDiff, ModelingToolkit, ReverseDiff, Tracker, Zygote],
1111

1212
format=Documenter.HTML(analytics = "UA-90474609-3",
1313
assets=["assets/favicon.ico"],
14-
canonical="https://galacticoptim.sciml.ai/stable/"),
14+
canonical="https://Optimization.sciml.ai/stable/"),
1515

1616
pages=[
17-
"GalacticOptim.jl: Unified Global Optimization Package" => "index.md",
17+
"Optimization.jl: A Unified Optimization Package" => "index.md",
1818

1919
"Tutorials" => [
2020
"Basic usage" => "tutorials/intro.md",
@@ -48,6 +48,6 @@ makedocs(
4848
)
4949

5050
deploydocs(
51-
repo="github.com/SciML/GalacticOptim.jl";
51+
repo="github.com/SciML/Optimization.jl";
5252
push_preview=true
5353
)

docs/src/API/modelingtoolkit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ModelingToolkit Integration
22

3-
GalacticOptim.jl is heavily integrated with the ModelingToolkit.jl
3+
Optimization.jl is heavily integrated with the ModelingToolkit.jl
44
symbolic system for symbolic-numeric optimizations. It provides a
55
front-end for automating the construction, parallelization, and
66
optimization of code. Optimizers can better interface with the extra
@@ -13,7 +13,7 @@ the [OptimizationFunction documentation](@id optfunction) for more
1313
details.
1414

1515
Secondly, one can generate `OptimizationProblem`s for use in
16-
GalacticOptim.jl from purely a symbolic front-end. This is the form
16+
Optimization.jl from purely a symbolic front-end. This is the form
1717
users will encounter when using ModelingToolkit.jl directly, and its
1818
also the form supplied by domain-specific languages. For more information,
1919
see the [OptimizationSystem documentation](https://mtk.sciml.ai/dev/systems/OptimizationSystem/).

docs/src/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# GalacticOptim.jl
1+
# Optimization.jl
22

3-
GalacticOptim.jl is a package with a scope that is beyond your normal global optimization
4-
package. GalacticOptim.jl seeks to bring together all of the optimization packages
3+
Optimization.jl is a package with a scope that is beyond your normal global optimization
4+
package. Optimization.jl seeks to bring together all of the optimization packages
55
it can find, local and global, into one unified Julia interface. This means, you
6-
learn one package and you learn them all! GalacticOptim.jl adds a few high-level
6+
learn one package and you learn them all! Optimization.jl adds a few high-level
77
features, such as integrating with automatic differentiation, to make its usage
88
fairly simple for most cases, while allowing all of the options in a single
99
unified interface.
1010

1111
## Installation
1212

1313
Assuming that you already have Julia correctly installed, it suffices to import
14-
GalacticOptim.jl in the standard way:
14+
Optimization.jl in the standard way:
1515

1616
```julia
17-
import Pkg; Pkg.add("GalacticOptim")
17+
import Pkg; Pkg.add("Optimization")
1818
```
19-
The packages relevant to the core functionality of GalacticOptim.jl will be imported
19+
The packages relevant to the core functionality of Optimization.jl will be imported
2020
accordingly and, in most cases, you do not have to worry about the manual
2121
installation of dependencies. However, you will need to add the specific optimizer
2222
packages.
@@ -41,6 +41,6 @@ packages.
4141

4242
✅ = supported
4343

44-
🟡 = supported in downstream library but not yet implemented in `GalacticOptim`; PR to add this functionality are welcome
44+
🟡 = supported in downstream library but not yet implemented in `Optimization`; PR to add this functionality are welcome
4545

4646
❌ = not supported

docs/src/optimization_packages/blackboxoptim.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# BlackBoxOptim.jl
22
[`BlackBoxOptim`](https://github.com/robertfeldt/BlackBoxOptim.jl) is a is a Julia package implementing **(Meta-)heuristic/stochastic algorithms** that do not require for the optimized function to be differentiable.
33

4-
## Installation: GalacticBBO.jl
4+
## Installation: OptimizationBBO.jl
55

6-
To use this package, install the GalacticBBO package:
6+
To use this package, install the OptimizationBBO package:
77

88
```julia
9-
import Pkg; Pkg.add("GalacticBBO")
9+
import Pkg; Pkg.add("OptimizationBBO")
1010
```
1111

1212
## Global Optimizers
@@ -53,7 +53,7 @@ rosenbrock(x, p) = (p[1] - x[1])^2 + p[2] * (x[2] - x[1]^2)^2
5353
x0 = zeros(2)
5454
p = [1.0, 100.0]
5555
f = OptimizationFunction(rosenbrock)
56-
prob = GalacticOptim.OptimizationProblem(f, x0, p, lb = [-1.0,-1.0], ub = [1.0,1.0])
56+
prob = Optimization.OptimizationProblem(f, x0, p, lb = [-1.0,-1.0], ub = [1.0,1.0])
5757
sol = solve(prob, BBO_adaptive_de_rand_1_bin_radiuslimited(), maxiters=100000, maxtime=1000.0)
5858
```
5959

docs/src/optimization_packages/cmaevolutionstrategy.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
The CMAEvolutionStrategy algorithm is called by `CMAEvolutionStrategyOpt()`
55

6-
## Installation: GalacticCMAEvolutionStrategy.jl
6+
## Installation: OptimizationCMAEvolutionStrategy.jl
77

8-
To use this package, install the GalacticCMAEvolutionStrategy package:
8+
To use this package, install the OptimizationCMAEvolutionStrategy package:
99

1010
```julia
11-
import Pkg; Pkg.add("GalacticCMAEvolutionStrategy")
11+
import Pkg; Pkg.add("OptimizationCMAEvolutionStrategy")
1212
```
1313

1414
## Global Optimizer
@@ -26,6 +26,6 @@ rosenbrock(x, p) = (p[1] - x[1])^2 + p[2] * (x[2] - x[1]^2)^2
2626
x0 = zeros(2)
2727
p = [1.0, 100.0]
2828
f = OptimizationFunction(rosenbrock)
29-
prob = GalacticOptim.OptimizationProblem(f, x0, p, lb = [-1.0,-1.0], ub = [1.0,1.0])
29+
prob = Optimization.OptimizationProblem(f, x0, p, lb = [-1.0,-1.0], ub = [1.0,1.0])
3030
sol = solve(prob, CMAEvolutionStrategyOpt())
3131
```

docs/src/optimization_packages/evolutionary.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Evolutionary.jl
22
[`Evolutionary`](https://github.com/wildart/Evolutionary.jl) is a Julia package implementing various evolutionary and genetic algorithm.
33

4-
## Installation: GalacticCMAEvolutionStrategy.jl
4+
## Installation: OptimizationCMAEvolutionStrategy.jl
55

6-
To use this package, install the GalacticCMAEvolutionStrategy package:
6+
To use this package, install the OptimizationCMAEvolutionStrategy package:
77

88
```julia
9-
import Pkg; Pkg.add("GalacticCMAEvolutionStrategy")
9+
import Pkg; Pkg.add("OptimizationCMAEvolutionStrategy")
1010
```
1111

1212
## Global Optimizer
@@ -36,6 +36,6 @@ rosenbrock(x, p) = (p[1] - x[1])^2 + p[2] * (x[2] - x[1]^2)^2
3636
x0 = zeros(2)
3737
p = [1.0, 100.0]
3838
f = OptimizationFunction(rosenbrock)
39-
prob = GalacticOptim.OptimizationProblem(f, x0, p, lb = [-1.0,-1.0], ub = [1.0,1.0])
39+
prob = Optimization.OptimizationProblem(f, x0, p, lb = [-1.0,-1.0], ub = [1.0,1.0])
4040
sol = solve(prob, Evolutionary.CMAES=40 , λ = 100))
4141
```

docs/src/optimization_packages/flux.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Flux.jl
22

3-
## Installation: GalacticFlux.jl
3+
## Installation: OptimizationFlux.jl
44

5-
To use this package, install the GalacticFlux package:
5+
To use this package, install the OptimizationFlux package:
66

77
```julia
8-
import Pkg; Pkg.add("GalacticFlux")
8+
import Pkg; Pkg.add("OptimizationFlux")
99
```
1010

1111
## Local Unconstrained Optimizers

0 commit comments

Comments
 (0)