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

Minor updates for moi06 #183

Merged
merged 2 commits into from
Sep 20, 2018
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
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
julia 0.6
MathProgBase 0.5 0.8
Compat 0.18
LinQuadOptInterface 0.3 0.4
LinQuadOptInterface 0.4 0.5
9 changes: 1 addition & 8 deletions src/MOIWrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,4 @@ end

function LQOI.get_objective_value(model::Optimizer)
return c_api_getobjval(model.inner)
end

MOI.canget(m::Optimizer, ::MOI.ObjectiveBound) = false
MOI.canget(m::Optimizer, ::MOI.RelativeGap) = false
MOI.canget(m::Optimizer, ::MOI.SolveTime) = false
MOI.canget(m::Optimizer, ::MOI.SimplexIterations) = false
MOI.canget(m::Optimizer, ::MOI.BarrierIterations) = false
MOI.canget(m::Optimizer, ::MOI.NodeCount) = false
end
3 changes: 2 additions & 1 deletion test/MOIWrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ end
@testset "Integer Linear tests" begin
intconfig = MOIT.TestConfig()
solver = CPLEX.Optimizer()
MOIT.intlineartest(solver, intconfig, ["int2", "int3"])
MOIT.intlineartest(solver, intconfig, ["int1", # requires objbound impl
"int2", "int3"])
# 3 is ranged, 2 has sos
@testset "int3" begin
MOIT.int3test(
Expand Down