Skip to content

Commit

Permalink
LightGraphsfix versions, switch to Graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
lpawela committed Mar 6, 2024
1 parent de8e175 commit 99ca601
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 21 deletions.
20 changes: 10 additions & 10 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ version = "1.0.0"
[deps]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
LabelledGraphs = "605abd48-4d17-4660-b914-d4df33194460"
LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
MKL = "33e6dc65-8f57-5167-99aa-e5a354878fb2"
Memoization = "6fafb56a-5788-4b4e-91ca-c0cea6611c73"
MetaGraphs = "626554b9-1ddb-594c-aa3c-2596fe9399a5"
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
NNlibCUDA = "a00861dc-f156-4864-bf3c-e6376f28a68d"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
SpinGlassNetworks = "b7f6bd3e-55dc-4da6-96a9-ef9dbec6ac19"
SpinGlassTensors = "7584fc6a-5a23-4eeb-8277-827aab0146ea"
Expand All @@ -22,17 +21,18 @@ TensorCast = "02d47bb6-7ce6-556a-be16-bb1710789e2b"
TensorOperations = "6aa20fa7-93e2-5fca-9bc0-fbd0db3c71a2"

[compat]
DocStringExtensions = "0.8"
LabelledGraphs = "0.3"
LightGraphs = "1.3"
Memoization = "0.1.14"
MetaGraphs = "0.6"
CUDA = "4.4.1"
DocStringExtensions = "0.9"
Graphs = "1.9"
LabelledGraphs = "0.4.4"
Memoization = "0.2"
MetaGraphs = "0.7"
SpinGlassNetworks = "1"
SpinGlassTensors = "1"
Statistics = "1.7.0"
TensorCast = "0.3, 0.4"
TensorOperations = "3.0.1"
julia = "1.8, 1.9"
TensorCast = "0.4"
TensorOperations = "4"
julia = "1.9, 1.10"

[extras]
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/cplex_bench.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using CPLEX, JuMP
using SpinGlassNetworks, LightGraphs
using SpinGlassNetworks, Graphs
using LinearAlgebra
using CSV, DataFrames

Expand Down
2 changes: 1 addition & 1 deletion benchmarks/cplex_bench_ref.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using LinearAlgebra
using CPLEX, JuMP
using SpinGlassNetworks, LightGraphs
using SpinGlassNetworks, Graphs

function qubo(h::Vector, J::Matrix)
b = [sum(J[i, :]) + sum(J[:, i]) for i 1:length(h)]
Expand Down
2 changes: 1 addition & 1 deletion docs/src/peps.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PEPSNetwork
using SpinGlassEngine, SpinGlassTensors, SpinGlassNetworks, SpinGlassPEPS
using SpinGlassExhaustive
using Logging
using LightGraphs
using Graphs
using LinearAlgebra
using TensorCast
using MetaGraphs
Expand Down
2 changes: 1 addition & 1 deletion examples/truncation_BP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using SpinGlassEngine
using SpinGlassNetworks
using SpinGlassTensors
using Logging
using LightGraphs
using Graphs
using LinearAlgebra
using TensorCast
using MetaGraphs
Expand Down
2 changes: 1 addition & 1 deletion src/SpinGlassEngine.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using NNlib, NNlibCUDA
using MetaGraphs
using Memoization
using LinearAlgebra, MKL
using LightGraphs
using Graphs
using ProgressMeter
using Statistics
using DocStringExtensions
Expand Down
2 changes: 1 addition & 1 deletion test/attic/zipper_var.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using SpinGlassEngine
using SpinGlassNetworks
using SpinGlassTensors
using Logging
using LightGraphs
using Graphs
using LinearAlgebra
using TensorCast
using MetaGraphs
Expand Down
2 changes: 1 addition & 1 deletion test/experimental/mpo_size.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using SpinGlassEngine
using SpinGlassNetworks
using SpinGlassTensors
using Logging
using LightGraphs
using Graphs
using LinearAlgebra
using TensorCast
using MetaGraphs
Expand Down
2 changes: 1 addition & 1 deletion test/experimental/truncate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using SpinGlassEngine
using SpinGlassNetworks
using SpinGlassTensors
using Logging
using LightGraphs
using Graphs
using LinearAlgebra
using TensorCast
using MetaGraphs
Expand Down
2 changes: 1 addition & 1 deletion test/experimental/truncate_small.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using SpinGlassEngine
using SpinGlassNetworks
using SpinGlassTensors
using Logging
using LightGraphs
using Graphs
using LinearAlgebra
using TensorCast
using MetaGraphs
Expand Down
2 changes: 1 addition & 1 deletion test/experimental/zipper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using SpinGlassEngine
using SpinGlassNetworks
using SpinGlassTensors
using Logging
using LightGraphs
using Graphs
using LinearAlgebra
using TensorCast
using MetaGraphs
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using SpinGlassEngine
using SpinGlassNetworks
using SpinGlassTensors
using Logging
using LightGraphs
using Graphs
using LinearAlgebra
using TensorCast
using MetaGraphs
Expand Down

0 comments on commit 99ca601

Please sign in to comment.