Skip to content

Commit

Permalink
Minor change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrych committed Oct 19, 2023
1 parent 9057ee7 commit 005db86
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/approx_planted_point.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ using Distributions
import MathOptInterface
const MOI = MathOptInterface

include("cube_blmo.jl")

n = 20
diffi = Random.rand(Bool, n) * 0.6 .+ 0.3

Expand Down Expand Up @@ -50,9 +48,9 @@ diffi = Random.rand(Bool, n) * 0.6 .+ 0.3
bounds = Boscia.IntegerBounds()
for i in 1:n
push!(bounds, (i, MOI.GreaterThan(0.0)))
push!(bounds, (i, MOI.LessThan(0.0)))
push!(bounds, (i, MOI.LessThan(1.0)))
end
blmo = CubeBLMO(n, int_vars, bin_vars, bounds)
blmo = Boscia.CubeBLMO(n, int_vars, bin_vars, bounds)

x, _, result = Boscia.solve(f, grad!, blmo, verbose =true)

Expand Down

0 comments on commit 005db86

Please sign in to comment.