Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Oct 17, 2024
1 parent 08ecf1a commit e4a0056
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_DecisionTree.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function test_DecisionTree()
@variable(model, 0 <= x[1:2] <= 1)
y, formulation = MathOptAI.add_predictor(model, ml_model, x)
@constraint(model, c_rhs, x .== 0.0)
@objective(model, Min, sum(y))
for _ in 1:10
xi = rand(rng, 2)
if minimum(abs.(xi .- [0.5, 0.3])) < 1e-2
Expand Down

0 comments on commit e4a0056

Please sign in to comment.