X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8e1b5d6b1f7a74ab20653c0362cf0815f9a9d7b3..081d9a75524dd18d9b592c30bb400f1688986d1e:/src/surf/maxmin.c?ds=inline diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index 3dd91a28ae..fbe6327be5 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -347,6 +347,14 @@ void lmm_update_variable_bound(lmm_system_t sys, lmm_variable_t var, var->bound = bound; } +void lmm_update_variable_weight(lmm_system_t sys, lmm_variable_t var, + double weight) +{ + sys->modified = 1; + var->weight = weight; +} + + double lmm_get_variable_weight(lmm_system_t sys, lmm_variable_t var) {