File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed
Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 1313 - ' 1.9'
1414 - ' 1.10'
1515 - ' 1.11'
16+ - ' 1.12'
1617 os :
1718 - ubuntu-latest
1819 - macOS-latest
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1111Statistics = " 10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1212
1313[compat ]
14- HiGHS = " 1"
14+ HiGHS = " 1.4 "
1515Ipopt = " 1"
1616JuMP = " 1"
1717LinearAlgebra = " 1"
18- Statistics = " 1"
18+ Statistics = " 1.11 "
1919julia = " 1.6"
Original file line number Diff line number Diff line change 1111 ]
1212
1313 result = pmedian (coords, 2 )
14- y = result. y
1514
16- @test sort (result. centers) == [2 , 6 ]
17-
18- @test iszero (y[1 ])
19- @test isone (y[2 ])
20- @test iszero (y[3 ])
21- @test iszero (y[4 ])
22- @test iszero (y[5 ])
23- @test isone (y[6 ])
15+ @test isapprox (result. objective, 8.06449510224598 ; atol= 1e-5 )
2416 end
2517
2618 @testset " p-median with distances" begin
You can’t perform that action at this time.
0 commit comments