Skip to content

Commit

Permalink
Remove LinearAlgebra dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Mar 25, 2024
1 parent ec481f6 commit a117506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,15 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
[compat]
Downloads = "<0.0.1, 1"
Libdl = "<0.0.1, 1.6"
LinearAlgebra = "<0.0.1, 1.6"
MathOptInterface = "1"
Random = "<0.0.1, 1.6"
SparseArrays = "<0.0.1, 1.6"
Test = "<0.0.1, 1.6"
julia = "1.6"

[extras]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["LinearAlgebra", "Random", "Test"]
test = ["Random", "Test"]
3 changes: 1 addition & 2 deletions test/test_MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module TestMOIWrapper
using Xpress
using Test

import LinearAlgebra
import MathOptInterface as MOI
import Random

Expand Down Expand Up @@ -1651,7 +1650,7 @@ end

function test_callback_preintsol()
model, x, y = callback_simple_model()
data = 1.0 * LinearAlgebra.I(3)
data = [1.0 0.0 0.0; 0.0 1.0 0.0; 0.0 0.0 1.0]
function foo(cb::Xpress.CallbackData)
cb.data[1] = 98
cols = Xpress.get_control_or_attribute(cb.model, "XPRS_COLS")
Expand Down

0 comments on commit a117506

Please sign in to comment.