Wikunia / ConstraintSolver.jl

ConstraintSolver in Julia: Blog posts ->
https://opensourc.es/blog/constraint-solver-1
MIT License
136 stars 13 forks source link

Compute SCCs myself #191

Closed Wikunia closed 3 years ago

Wikunia commented 3 years ago

Computing strongly connected components in the all different constraint currently takes ~50% of the time mostly because it creates some new data structure etc. This is also the case when switching to LightGraphs as building a graph is relatively expensive.

SCC is mostly running DFS which shouldn't be too hard if the vector di_ei can be stored in a sorted way which might be hard though.