Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This function has been accidentally deleted in the last version...
[simgrid.git] / src / surf / maxmin.c
index 3dd91a2..fbe6327 100644 (file)
@@ -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)
                                  
 {