diff --git a/Snakefile b/Snakefile index e7b2fd58..998954db 100644 --- a/Snakefile +++ b/Snakefile @@ -142,9 +142,10 @@ def partition(w): def memory(w): if w.clusters.endswith('m'): - return 61000 + return 18000 + 180 * int(w.clusters[:-1]) else: - return 4890+310 * int(w.clusters) + return 8000 + 190 * int(w.clusters) + # return 4890+310 * int(w.clusters) rule solve_network: input: "networks/{network}_s{simpl}_{clusters}_lv{lv}_{opts}.nc" diff --git a/config.yaml b/config.yaml index c6eddc88..bc70169e 100644 --- a/config.yaml +++ b/config.yaml @@ -129,7 +129,7 @@ solving: # max_iterations: 1 # nhours: 10 solver: - name: gurobi_persistent + name: gurobi threads: 4 method: 2 crossover: 0 # -1 (Choose freely)