power-grid-model icon indicating copy to clipboard operation
power-grid-model copied to clipboard

Feature/minimum degree topology

Open mgovers opened this issue 1 year ago • 3 comments

Fixes #433

mgovers avatar Nov 27 '23 14:11 mgovers

@mgovers how far are we close to merge this?

TonyXiang8787 avatar Apr 02 '24 14:04 TonyXiang8787

@mgovers how far are we close to merge this?

Cfr. our discussions, we run the benchmark case and if the amount of fill-ins is the same for both implementations, it's ready for merge.

Together with @petersalemink95 and the rest of the team, this work has been refined, estimated and prioritized and is waiting to be picked up. However, we have a couple high-prio things that need to be picked up first.

mgovers avatar Apr 02 '24 14:04 mgovers

Cfr. our discussions, we run the benchmark case and if the amount of fill-ins is the same for both implementations, it's ready for merge.

The amount of fill-ins differs on the benchmark case: for the meshed grid cases, all runs return 91 fill-ins for the current main and 98 fill-ins for this branch, which is a regression.

Further investigation needed

mgovers avatar Jun 11 '24 07:06 mgovers

cfr. discussion: boost and this branch use slightly different choices regarding the chosen point, but they scale similarly:

  • sometimes, boost is better (e.g. benchmark case for large grids),
  • at other times, this branch provides less fill-ins (e.g. benchmark case for small grids)
  • they both are not necessarily optimal solutions

An efficient exact optimal minimum degree algorithm is proposed in https://epubs.siam.org/doi/epdf/10.1137/1.9781611976465.45 that could provide speed-ups. Simpler solutions also exist, like randomly trying n vertices with the same minimal degree instead of only a single arbitrary vertex of minimum degree (e.g. the first, which is the one implemented in this branch)

For now, this solution seems to be OK and it is ready for review and merge as is.

mgovers avatar Jun 17 '24 12:06 mgovers

FINALLY image image

mgovers avatar Jun 19 '24 11:06 mgovers