Skip to content

Commit 76515fa

Browse files
committed
a few changes to test the solver for Julia v1.12
1 parent d9fb10b commit 76515fa

File tree

10 files changed

+111
-25
lines changed

10 files changed

+111
-25
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*.jl.*.cov
33
*.jl.mem
44
/Manifest.toml
5+
/Manifest-*.toml
56
/deps/deps.jl
67
/docs/build
78
/docs/Manifest.toml

Project.toml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,30 +32,30 @@ CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
3232
CUDAExt = "CUDA"
3333

3434
[compat]
35-
Adapt = "4.3.0"
35+
Adapt = "4.3"
3636
Aqua = "0.8"
37-
ArnoldiMethod = "0.4.0"
38-
BFloat16s = "0.5.1"
37+
ArnoldiMethod = "0.4"
38+
BFloat16s = "0.5"
3939
CUDA = "5"
4040
CodecBzip2 = "0.8"
4141
Compat = "4"
42-
CpuId = "0.3.1"
43-
DataStructures = "0.18.22"
44-
Dates = "1.11.0"
45-
Distributions = "0.25.118"
46-
IntervalSets = "0.7.11"
42+
CpuId = "0.3"
43+
DataStructures = "0.18"
44+
Dates = "1.11"
45+
Distributions = "0.25"
46+
IntervalSets = "0.7"
4747
JET = "0.9"
4848
JSON = "0.21"
49-
KernelAbstractions = "0.9.34"
50-
LinearAlgebra = "1.11.0"
51-
OrderedCollections = "1.8.1"
52-
Pkg = "1.11.0"
49+
KernelAbstractions = "0.9"
50+
LinearAlgebra = "1.11"
51+
OrderedCollections = "1.8"
52+
Pkg = "1.11"
5353
PrecompileTools = "1"
54-
Printf = "1.11.0"
55-
Random = "1.11.0"
56-
Sobol = "1.5.0"
57-
SparseArrays = "1.11.0"
58-
TOML = "1.0.3"
54+
Printf = "1.11"
55+
Random = "1.11"
56+
Sobol = "1.5"
57+
SparseArrays = "1.11"
58+
TOML = "1.0"
5959
Test = "1"
6060
julia = "1"
6161

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ cd docs
134134
julia --project .\make.jl
135135
cd ..
136136
cd notebooks
137-
.\compile.ps1 # this may take a while to finish
137+
.\compile.ps1 # this may take a while to finish,
138+
# may even fail for unrelated reasons
139+
cd ..
140+
.\bom.ps1
138141
```
139142

140143
## Trademarks

bom.json

Lines changed: 84 additions & 0 deletions
Large diffs are not rendered by default.

notebooks/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
Manifest.toml
2+
Manifest-*.toml
23
*.tex
34
*.qmd
45
*.pdf
56
*.log
67
*.aux
78
*.quarto_ipynb
89
evaluate-max_cut.csv
10+
evaluate-max_cut-*.csv
11+
evaluate-max_cut-*-settings.json

src/FileFormats/FileFormats.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ using SparseArrays
1212
@compat public FileNotFoundException
1313
@compat public GraphIOException, read_graph_matrix, read_directed_graph_matrix
1414

15-
export FileNotFoundException
16-
export read_graph_matrix
17-
1815
"""
1916
FileNotFoundException(filename::AbstractString, message::AbstractString)
2017

src/Solver/Solver.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ using SparseArrays
4242
@compat public extract_runtime_information
4343

4444
using ..AOCoptimizer: CancellationToken, is_cancelled
45-
using ..AOCoptimizer.RuntimeUtils
45+
using ..AOCoptimizer.RuntimeUtils: run_for
4646

4747
"""
4848
TEnergyObservations{T<:Number}

src/qubo.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ using Random
2424
using AOCoptimizer: CancellationToken, is_cancelled
2525
using AOCoptimizer: Direction, MINIMIZATION, MAXIMIZATION
2626

27-
export qubo
2827
@compat public qubo, greedy_random, evaluate, size, increase!, decrease!
2928

3029
"""

src/qumo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ using LinearAlgebra
1212
using AOCoptimizer: Direction, MINIMIZATION, MAXIMIZATION
1313

1414
@compat public qumo, mixed_ising, convert_positive_qumo_to_mixed_ising
15-
export qumo, mixed_ising, convert_to_mixed_ising, convert_to_qumo
15+
export convert_to_mixed_ising, convert_to_qumo
1616

1717
"""
1818
qumo{T}

src/runtime_utils.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ using Dates
1111
using Base.Threads: Atomic, atomic_xchg!
1212
using AOCoptimizer: CancellationToken, create_cancellation_token, cancel!
1313

14-
export run_for
1514
@compat public run_for, RuntimeException
1615

1716
"""

0 commit comments

Comments
 (0)