Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Bug fix and add a fonction indicating whether a constraint is active or not.
[simgrid.git] / src / include / surf / maxmin.h
index eab5957..e0b0723 100644 (file)
@@ -3,6 +3,9 @@
 /* This program is free software; you can redistribute it and/or modify it
    under the terms of the license (GNU LGPL) which comes with this package. */
 
+#ifndef _SURF_MAXMIN_H
+#define _SURF_MAXMIN_H
+
 typedef long double xbt_maxmin_float_t;
 #define XBT_MAXMIN_FLOAT_T "%Lg"       /* for printing purposes */
 
@@ -37,4 +40,7 @@ void lmm_update_variable_weight(lmm_variable_t var,
 void lmm_update_constraint_bound(lmm_constraint_t cnst,
                                 xbt_maxmin_float_t bound);
 
+int lmm_constraint_used(lmm_system_t sys, lmm_constraint_t cnst);
+
 void lmm_solve(lmm_system_t sys);
+#endif                         /* _SURF_MAXMIN_H */