Skip to content

Commit

Permalink
tests: fix irace budget (#277)
Browse files Browse the repository at this point in the history
* tests: fix irace budget

* ...
  • Loading branch information
be-marc authored Dec 8, 2024
1 parent e0a8c4d commit b84523c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/testthat/test_OptimizerIrace.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test_that("OptimizerBatchIrace minimize works", {
instance = OptimInstanceBatchSingleCrit$new(
objective = objective,
search_space = search_space,
terminator = trm("evals", n_evals = 1000))
terminator = trm("evals", n_evals = 200))


optimizer = opt("irace", instances = rnorm(10, mean = 0, sd = 0.1))
Expand Down Expand Up @@ -56,7 +56,7 @@ test_that("OptimizerBatchIrace maximize works", {
instance = OptimInstanceBatchSingleCrit$new(
objective = objective,
search_space = search_space,
terminator = trm("evals", n_evals = 1000))
terminator = trm("evals", n_evals = 200))

optimizer = opt("irace", instances = rnorm(10, mean = 0, sd = 0.1))

Expand Down Expand Up @@ -122,7 +122,7 @@ test_that("OptimizerBatchIrace works with passed constants set", {
instance = OptimInstanceBatchSingleCrit$new(
objective = objective,
search_space = search_space,
terminator = trm("evals", n_evals = 96))
terminator = trm("evals", n_evals = 200))

optimizer = opt("irace", instances = rnorm(10, mean = 0, sd = 0.1))

Expand All @@ -147,7 +147,7 @@ test_that("OptimizerBatchIrace works without passed constants set", {
instance = OptimInstanceBatchSingleCrit$new(
objective = objective,
search_space = search_space,
terminator = trm("evals", n_evals = 96))
terminator = trm("evals", n_evals = 200))

optimizer = opt("irace", instances = rnorm(10, mean = 0, sd = 0.1))

Expand Down

0 comments on commit b84523c

Please sign in to comment.