X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9f711e307baab467e99a5f1e9e5ed3d90b67f5f7..820b3e5cd70325b3d5f5c4027137d684c5130465:/src/surf/maxmin.c diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index a441d1e27e..c8b868cf64 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -32,6 +32,10 @@ static void lmm_remove_all_modified_set(lmm_system_t sys); static int Global_debug_id = 1; static int Global_const_debug_id = 1; +static void lmm_var_free(lmm_system_t sys, lmm_variable_t var); +static XBT_INLINE void lmm_cnst_free(lmm_system_t sys, + lmm_constraint_t cnst); + lmm_system_t lmm_system_new(int selective_update) { lmm_system_t l = NULL; @@ -659,7 +663,6 @@ 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); if (elem->variable->weight <= 0 || elem->variable->value > 0) break; if (elem->value > 0)