tests/testthat/test_run_solver.R

context("run_solver")

if (interactive()) {
test_that("run_solver", {
  x = random_instance(size = 100)
  for (method in get_solvers()) {
    res = run_solver(x, method = method)
  }
})
}

Try the tspmeta package in your browser

Any scripts or data that you put into this service are public.

tspmeta documentation built on May 2, 2019, 2:43 a.m.