1 /* Copyright (c) 2004-2023. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef SIMGRID_KERNEL_LMM_MAXMIN_HPP
7 #define SIMGRID_KERNEL_LMM_MAXMIN_HPP
9 #include "src/kernel/lmm/System.hpp"
11 namespace simgrid::kernel::lmm {
13 class XBT_PUBLIC MaxMin : public System {
18 void do_solve() final;
19 template <class CnstList> void maxmin_solve(CnstList& cnst_list);
21 using dyn_light_t = std::vector<int>;
23 std::vector<ConstraintLight> cnst_light_vec;
24 dyn_light_t saturated_constraints;
27 } // namespace simgrid::kernel::lmm