From 222abb5be29a95538f37ed28760df68b037b2a52 Mon Sep 17 00:00:00 2001 From: David Shah <davey1576@gmail.com> Date: Sun, 9 Dec 2018 14:41:02 +0000 Subject: placer1: Encourage chain swaps Signed-off-by: David Shah <davey1576@gmail.com> --- common/placer1.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/placer1.cc b/common/placer1.cc index db10b7d3..ecb61b5c 100644 --- a/common/placer1.cc +++ b/common/placer1.cc @@ -553,7 +553,7 @@ class SAPlacer (1 - lambda) * (double(moveChange.wirelen_delta) / last_wirelen_cost); n_move++; // SA acceptance criterea - if (delta < 0 || (temp > 1e-8 && (ctx->rng() / float(0x3fffffff)) <= std::exp(-delta / temp))) { + if (delta < 0 || (temp > 1e-9 && (ctx->rng() / float(0x3fffffff)) <= std::exp(-delta / (5 * temp)))) { n_accept++; if (ctx->debug) log_info("accepted chain swap %s\n", cell->name.c_str(ctx)); -- cgit v1.2.3