Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
*** empty log message ***
[simgrid.git] / src / surf / maxmin.c
index 9b5a48f..a346b1f 100644 (file)
@@ -354,6 +354,13 @@ void lmm_update_variable_weight(lmm_system_t sys, lmm_variable_t var,
   var->weight = weight;
 }
 
+
+double lmm_get_variable_weight(lmm_variable_t var)
+                                 
+{
+  return var->weight;
+}
+
 void lmm_update_constraint_bound(lmm_system_t sys, lmm_constraint_t cnst,
                                 double bound)
 {