Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove LinearAlgebra dependency #252

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading