Skip to content

Commit

Permalink
Change nlpmodels.jl to use ConcreteStructs.jl (#51)
Browse files Browse the repository at this point in the history
* Change nlpmodels.jl to use ConcreteStructs.jl

---------

Co-authored-by: Carleton Coffrin <[email protected]>
  • Loading branch information
odow and ccoffrin committed Feb 3, 2024
1 parent a8acb07 commit 21f950c
Show file tree
Hide file tree
Showing 4 changed files with 382 additions and 195 deletions.
34 changes: 18 additions & 16 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

julia_version = "1.10.0"
manifest_format = "2.0"
project_hash = "2b196f4165a07d56342f51102f8b4a3a616731b5"
project_hash = "c0a6ee1697d0b2d35a20c1d7bcf24a2f1ae804be"

[[deps.ADNLPModels]]
deps = ["ColPack", "ForwardDiff", "LinearAlgebra", "NLPModels", "Requires", "ReverseDiff", "SparseArrays"]
Expand Down Expand Up @@ -93,9 +93,9 @@ version = "7.7.0"

[[deps.ArrayLayouts]]
deps = ["FillArrays", "LinearAlgebra"]
git-tree-sha1 = "f5c3f5584f14322a0bd73362fd88b589dabd4019"
git-tree-sha1 = "64d582bcb9c93ac741234789eeb4f16812413efb"
uuid = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
version = "1.5.3"
version = "1.6.0"
weakdeps = ["SparseArrays"]

[deps.ArrayLayouts.extensions]
Expand Down Expand Up @@ -660,9 +660,9 @@ weakdeps = ["Statistics"]

[[deps.Ipopt]]
deps = ["Ipopt_jll", "LinearAlgebra", "MathOptInterface", "OpenBLAS32_jll", "PrecompileTools"]
git-tree-sha1 = "3b646a77ae8818d72aa23e3e6924f481505e64fa"
git-tree-sha1 = "6600353576cee7e7388e57e94115f6aee034fb1c"
uuid = "b6b21f68-93f8-5de0-b562-5493be1d77c9"
version = "1.6.0"
version = "1.6.1"

[[deps.Ipopt_jll]]
deps = ["ASL_jll", "Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "MUMPS_seq_jll", "OpenBLAS32_jll", "Pkg"]
Expand Down Expand Up @@ -700,9 +700,9 @@ version = "0.21.4"

[[deps.JuMP]]
deps = ["LinearAlgebra", "MacroTools", "MathOptInterface", "MutableArithmetics", "OrderedCollections", "PrecompileTools", "Printf", "SparseArrays"]
git-tree-sha1 = "adef1dfbafeab635664fb3249b58be8d290ed49d"
git-tree-sha1 = "5036b4cf6d85b08d80de09ef65b4d951f6e68659"
uuid = "4076af6c-e467-56ae-b986-b466b2749572"
version = "1.18.1"
version = "1.19.0"

[deps.JuMP.extensions]
JuMPDimensionalDataExt = "DimensionalData"
Expand Down Expand Up @@ -1196,10 +1196,10 @@ uuid = "429524aa-4258-5aef-a3af-852621145aeb"
version = "1.9.1"

[[deps.Optimization]]
deps = ["ADTypes", "ArrayInterface", "ConsoleProgressMonitor", "DocStringExtensions", "LinearAlgebra", "Logging", "LoggingExtras", "Pkg", "Printf", "ProgressLogging", "Reexport", "SciMLBase", "SparseArrays", "SymbolicIndexingInterface", "TerminalLoggers"]
git-tree-sha1 = "e24a89f3f15fd4beff32a12bde4310768f47c5bc"
deps = ["ADTypes", "ArrayInterface", "ConsoleProgressMonitor", "DocStringExtensions", "LinearAlgebra", "Logging", "LoggingExtras", "Pkg", "Printf", "ProgressLogging", "Reexport", "SciMLBase", "SparseArrays", "TerminalLoggers"]
git-tree-sha1 = "145baedf71770d84bf590d307b4686a9ea619c4b"
uuid = "7f7a1694-90dd-40f0-9382-eb1efda571ba"
version = "3.21.2"
version = "3.22.0"

[deps.Optimization.extensions]
OptimizationEnzymeExt = "Enzyme"
Expand Down Expand Up @@ -1235,9 +1235,9 @@ version = "1.6.3"

[[deps.OrdinaryDiffEq]]
deps = ["ADTypes", "Adapt", "ArrayInterface", "DataStructures", "DiffEqBase", "DocStringExtensions", "ExponentialUtilities", "FastBroadcast", "FastClosures", "FillArrays", "FiniteDiff", "ForwardDiff", "FunctionWrappersWrappers", "IfElse", "InteractiveUtils", "LineSearches", "LinearAlgebra", "LinearSolve", "Logging", "MacroTools", "MuladdMacro", "NonlinearSolve", "Polyester", "PreallocationTools", "PrecompileTools", "Preferences", "RecursiveArrayTools", "Reexport", "SciMLBase", "SciMLOperators", "SimpleNonlinearSolve", "SimpleUnPack", "SparseArrays", "SparseDiffTools", "StaticArrayInterface", "StaticArrays", "TruncatedStacktraces"]
git-tree-sha1 = "c971a69e5eea2eba435b55e962c283f15502a0c8"
git-tree-sha1 = "c99ec5e4da0dabe068e5f6af1e157e70f233996b"
uuid = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
version = "6.70.0"
version = "6.70.1"

[[deps.PDMats]]
deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse"]
Expand Down Expand Up @@ -1374,12 +1374,13 @@ version = "1.3.4"

[[deps.RecursiveArrayTools]]
deps = ["Adapt", "ArrayInterface", "DocStringExtensions", "GPUArraysCore", "IteratorInterfaceExtensions", "LinearAlgebra", "RecipesBase", "SparseArrays", "StaticArraysCore", "Statistics", "SymbolicIndexingInterface", "Tables"]
git-tree-sha1 = "5a904ad526cc9a2c5b464f6642ce9dd230fd69b6"
git-tree-sha1 = "2bd309f5171a628efdf5309361cd8a779b9e63a9"
uuid = "731186ca-8d62-57ce-b412-fbd966d074cd"
version = "3.7.0"
version = "3.8.0"

[deps.RecursiveArrayTools.extensions]
RecursiveArrayToolsFastBroadcastExt = "FastBroadcast"
RecursiveArrayToolsForwardDiffExt = "ForwardDiff"
RecursiveArrayToolsMeasurementsExt = "Measurements"
RecursiveArrayToolsMonteCarloMeasurementsExt = "MonteCarloMeasurements"
RecursiveArrayToolsReverseDiffExt = ["ReverseDiff", "Zygote"]
Expand All @@ -1388,6 +1389,7 @@ version = "3.7.0"

[deps.RecursiveArrayTools.weakdeps]
FastBroadcast = "7034ab61-46d4-4ed7-9d0f-46aef9175898"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7"
MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca"
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
Expand Down Expand Up @@ -1751,9 +1753,9 @@ uuid = "0796e94c-ce3b-5d07-9a54-7f471281c624"
version = "0.5.28"

[[deps.TranscodingStreams]]
git-tree-sha1 = "1fbeaaca45801b4ba17c251dd8603ef24801dd84"
git-tree-sha1 = "54194d92959d8ebaa8e26227dbe3cdefcdcd594f"
uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa"
version = "0.10.2"
version = "0.10.3"
weakdeps = ["Random", "Test"]

[deps.TranscodingStreams.extensions]
Expand Down
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[deps]
ADNLPModels = "54578032-b7ea-4c30-94aa-7cbd1cce6c9a"
ConcreteStructs = "2569d6c7-a4a2-43d3-a901-331e8e4be471"
ExaModels = "1037b233-b668-4ce9-9b63-f9f681f55dd2"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Ipopt = "b6b21f68-93f8-5de0-b562-5493be1d77c9"
Expand Down
Loading

0 comments on commit 21f950c

Please sign in to comment.