From e95cd262238b36c8020feeafb3d8b2a56ce915d8 Mon Sep 17 00:00:00 2001
From: rschoene <rene.schoene@tu-dresden.de>
Date: Tue, 22 Dec 2015 08:04:39 +0100
Subject: [PATCH] quick-fix for solving-task.

---
 ilp_measurement.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ilp_measurement.py b/ilp_measurement.py
index beebcd9..d806ec5 100644
--- a/ilp_measurement.py
+++ b/ilp_measurement.py
@@ -88,7 +88,7 @@ def dirname(d):
 @task(name = 'sol')
 def sol(number = 1, solver = 'glpsol', pathname = '*', skip_conflate = False):
     """ Run solver n times (default: once) """
-    do_sol(int(number), pathname, skip_conflate)
+    do_sol(solver, int(number), pathname, skip_conflate)
 
 params = { 'glpsol' : ['glpsol --tmlim 40 --lp {lp} -w {sol}', 'INTEGER OPTIMAL SOLUTION FOUND', 'Time used:[\s]*(.*?) secs', '(\d+) rows, (\d+) columns, (\d+) non-zeros'],
            'gurobi' : ['gurobi_cl ResultFile={sol} {lp}', 'Optimal solution found', 'in (.*?) seconds', 'Optimize a model with (\d+) rows, (\d+) columns and (\d+) nonzeros']}
-- 
GitLab