Browse Source

some solvers (e.g. glp) aren't precise enough to like 1e6

Samuel Thibault 15 years ago
parent
commit
16708dfb09
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/profiling/bound.c

+ 2 - 2
src/profiling/bound.c

@@ -392,9 +392,9 @@ void starpu_bound_print_lp(FILE *output)
 			{
 				if (!ancestor(t, t2) && !ancestor(t2, t))
 				    for (w = 0; w < nw; w++) {
-					fprintf(output, "s%u - c%u >= -3e6 + 1e6 t%uw%u + 1e6 t%uw%u + 1e6 t%uafter%u;\n",
+					fprintf(output, "s%u - c%u >= -3e5 + 1e5 t%uw%u + 1e5 t%uw%u + 1e5 t%uafter%u;\n",
 							t->id, t2->id, t->id, w, t2->id, w, t->id, t2->id);
-					fprintf(output, "s%u - c%u >= -2e6 + 1e6 t%uw%u + 1e6 t%uw%u - 1e6 t%uafter%u;\n",
+					fprintf(output, "s%u - c%u >= -2e5 + 1e5 t%uw%u + 1e5 t%uw%u - 1e5 t%uafter%u;\n",
 							t2->id, t->id, t->id, w, t2->id, w, t->id, t2->id);
 				}
 			}