Commit 48d47bbc authored by msurl's avatar msurl
Browse files

removed import

parent 64d81ae0
......@@ -11,7 +11,7 @@ from gurobipy import GRB
import datetime
import sys
import matplotlib.pyplot as plt
import lp_to_nx_graph
#import lp_to_nx_graph
from itertools import combinations
......@@ -87,7 +87,8 @@ class ConnectedKHopDominatingSet(KHopDominatingSet):
self.m._G = self.G
self.m.Params.lazyConstraints = 1
self.m.optimize(RootedConnectecKHopDominatingSet.elim_unconnectivity)
# self.m.optimize()
# elif self.constraints == ConnectivityConstraint.INDEGREE:
# self.m.optimize()
ds = {i for i,x_i in enumerate(self.m.getVars()) if x_i.x > 0.5}
return ds
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment