def bm_zenopt(self):
		
		G = zn.Graph()
		
		# add nodes
		G.add_nodes(self.NUM_NODES)
			
		# add edges
		num_nodes = self.NUM_NODES
		i = 0
		ni = 0
		nj = 1
		while i < self.NUM_EDGES:
			G.add_edge_(ni,nj)
			i += 1
			
			nj += 1
			if nj >= num_nodes:
				ni += 1
				nj = ni + 1
			
	# def bm_zenopt(self):
	# 	G = zn.Graph()
	# 	
	# 	# add nodes
	# 	for i in range(self.NUM_NODES):
	# 		G.add_node()
	# 		
	# 	# add edges
	# 	num_nodes = self.NUM_NODES
	# 	i = 0
	# 	ni = 0
	# 	nj = 1
	# 	while i < self.NUM_EDGES:
	# 		G.add_edge_(ni,nj)
	# 		i += 1
	# 		
	# 		nj += 1
	# 		if nj >= num_nodes:
	# 			ni += 1
	# 			nj = ni + 1
dataset/ETHPy150Open networkdynamics/zenlib/src/zen/benchmarks/graph.py/NonRandomGraphBenchmark.bm_zenopt/original