X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3d11b865e20621ab35546483d933bd60f2785c18..4d834c6f7709971355b0ff9d29cde677c2e8af02:/src/surf/maxmin.c diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index b8f4d10af5..e9f635de1c 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -659,9 +659,9 @@ void lmm_solve(lmm_system_t sys) make_elem_inactive(elem); elem_list = &(cnst->element_set); xbt_swag_foreach(elem, elem_list) { - make_elem_active(elem); +// make_elem_active(elem); if (elem->variable->weight <= 0 || elem->variable->value > 0) - continue; + break; if (elem->value > 0) cnst->usage = MAX(cnst->usage, elem->value / elem->variable->weight); }