lib/solvers/glpk.rb in rulp-0.0.13 vs lib/solvers/glpk.rb in rulp-0.0.14
- old
+ new
@@ -1,6 +1,6 @@
class Glpk < Solver
- def solve(options)
+ def solve
command = "#{executable} --lp #{@filename} %s --cuts --write #{@outfile}"
command %= options[:gap] ? "--mipgap #{options[:gap]}" : ""
system(command)
end
\ No newline at end of file