A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fix and add a fonction indicating whether a constraint is active or not.
[simgrid.git]
/
src
/
include
/
surf
/
maxmin.h
diff --git
a/src/include/surf/maxmin.h
b/src/include/surf/maxmin.h
index
eab5957
..
e0b0723
100644
(file)
--- a/
src/include/surf/maxmin.h
+++ b/
src/include/surf/maxmin.h
@@
-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. */
/* 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 */
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);
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);
void lmm_solve(lmm_system_t sys);
+#endif /* _SURF_MAXMIN_H */