Skip to content

Commit 5b27e25

Browse files
committed
minimum Julia required is v1.10
1 parent 8042bdf commit 5b27e25

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v5
1515
- uses: julia-actions/setup-julia@latest
1616
with:
17-
version: '1.9'
17+
version: '1.10'
1818
- name: Install dependencies
1919
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
2020
- name: Build and deploy

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
version:
13-
- '1.9'
1413
- '1.10'
1514
- '1.11'
1615
- '1.12'

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Ipopt = "1.7"
1616
JuMP = "1"
1717
LinearAlgebra = "1"
1818
Statistics = "1"
19-
julia = "1.6"
19+
julia = "1.10"

test/testpmedian.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
result = pmedian(coords, 2)
1414

1515
@test isapprox(result.objective, 8.06449510224598; atol=1e-5)
16+
17+
# Alternative optimal solutions
18+
@test result.centers == [2, 5] || result.centers == [2, 6]
1619
end
1720

1821
@testset "p-median with distances" begin

0 commit comments

Comments
 (0)