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
Move maxmin solver from system
[simgrid.git]
/
teshsuite
/
surf
/
maxmin_bench
/
maxmin_bench.cpp
diff --git
a/teshsuite/surf/maxmin_bench/maxmin_bench.cpp
b/teshsuite/surf/maxmin_bench/maxmin_bench.cpp
index
67717de
..
91da7e5
100644
(file)
--- a/
teshsuite/surf/maxmin_bench/maxmin_bench.cpp
+++ b/
teshsuite/surf/maxmin_bench/maxmin_bench.cpp
@@
-24,7
+24,7
@@
static double test(int nb_cnst, int nb_var, int nb_elem, unsigned int pw_base_li
std::vector<simgrid::kernel::lmm::Variable*> variables(nb_var);
/* We cannot activate the selective update as we pass nullptr as an Action when creating the variables */
std::vector<simgrid::kernel::lmm::Variable*> variables(nb_var);
/* We cannot activate the selective update as we pass nullptr as an Action when creating the variables */
- simgrid::kernel::lmm::
System
Sys(false);
+ simgrid::kernel::lmm::
MaxMin
Sys(false);
for (auto& cnst : constraints) {
cnst = Sys.constraint_new(nullptr, simgrid::xbt::random::uniform_real(0.0, 10.0));
for (auto& cnst : constraints) {
cnst = Sys.constraint_new(nullptr, simgrid::xbt::random::uniform_real(0.0, 10.0));