Skip to content

Conversation

GiggleLiu
Copy link
Contributor

@GiggleLiu GiggleLiu commented Feb 28, 2022

One can use estimate_memory to get a good estimation of peak memory in bytes.

julia> using GraphTensorNetworks, Graphs, Random

julia> graph = random_regular_graph(120, 3)
{120, 180} undirected simple Int64 graph

julia> problem = IndependentSet(graph; optimizer=TreeSA(
    sc_target=20, sc_weight=1.0, rw_weight=3.0, ntrials=10, βs=0.01:0.1:15.0, niters=20), simplifier=MergeGreedy());

julia> estimate_memory(problem, GraphPolynomial(; method=:finitefield))
297616

@GiggleLiu GiggleLiu merged commit ec3e9d9 into master Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant