Skip to content
Snippets Groups Projects
Commit 0aff3327 authored by Bardhyl Miftari's avatar Bardhyl Miftari
Browse files

Correction of output for CSV CBC

parent cf6fc54a
No related branches found
No related tags found
No related merge requests found
Pipeline #11273 passed
......@@ -22,6 +22,7 @@ into respectively a json and csv file.
"""
import csv
import numpy as np
from gboml.version import __version__
......@@ -347,7 +348,7 @@ def flat_graph_and_add_node_prefix(nodes, hyperedges, solution, product, constra
name_tuples: list of tuples <identifier, values>
"""
solution = np.array(solution)
name_tuples = []
for node in nodes:
variables_dict = node.get_dictionary_variables()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment