Sha256: fa0ad6dc0d5c70765810aa0995b46a66f45ee5a4b092443e104b41ce9924d594

Contents?: true

Size: 309 Bytes

Versions: 12

Compression:

Stored size: 309 Bytes

Contents

require_relative "../lib/rulp"

gem "minitest"
require "minitest/autorun"

Rulp::Logger::level = :off


def each_solver
  [:scip, :cbc, :glpk, :gurobi].each do |solver|
    LV::clear
    if Rulp::solver_exists?(solver)
      yield(solver)
    else
      puts "Couldn't find solver #{solver}"
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rulp-0.0.16 test/test_helper.rb
rulp-0.0.15 test/test_helper.rb
rulp-0.0.14 test/test_helper.rb
rulp-0.0.13 test/test_helper.rb
rulp-0.0.12 test/test_helper.rb
rulp-0.0.11 test/test_helper.rb
rulp-0.0.10 test/test_helper.rb
rulp-0.0.9 test/test_helper.rb
rulp-0.0.8 test/test_helper.rb
rulp-0.0.7 test/test_helper.rb
rulp-0.0.6 test/test_helper.rb
rulp-0.0.5 test/test_helper.rb