lib/solvers/glpk.rb in rulp-0.0.16 vs lib/solvers/glpk.rb in rulp-0.0.17

- old
+ new

@@ -1,9 +1,9 @@ class Glpk < Solver def solve command = "#{executable} --lp #{@filename} %s --cuts --write #{@outfile}" command %= options[:gap] ? "--mipgap #{options[:gap]}" : "" - system(command) + exec(command) end def self.executable :glpsol end \ No newline at end of file