You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#There are two approaches to find one of the best solution.
94
+
#One can use [`SingleConfigMax`](@ref) to find one of the solution with largest set size, and it has two implementations.
89
95
# The unbounded (default) version uses [`ConfigSampler`](@ref) to sample one of the best solutions directly.
90
96
# The bounded version uses the binary gradient back-propagation (see our paper) to compute the gradients.
91
97
# It requires caching intermediate states, but is often faster (on CPU) because it can use [`TropicalGEMM`](https://github.com/TensorBFS/TropicalGEMM.jl) (see [Performance Tips](@ref)).
# This result should be consistent with that given by the [Bron Kerbosch algorithm](https://en.wikipedia.org/wiki/Bron%E2%80%93Kerbosch_algorithm) on the complement of Petersen graph.
77
87
cliques =maximal_cliques(complement(graph))
78
88
79
-
# For sparse graphs, the generic tensor network approach is usually much faster and memory efficient than the Bron Kerbosch algorithm.
89
+
# For sparse graphs, the generic tensor network approach is usually much faster and memory efficient than the Bron Kerbosch algorithm.
90
+
91
+
# ##### finding minimum maximal independent set
92
+
# It is the [`ConfigsMin`](@ref) property in the program.
0 commit comments