Skip to content

Commit 5dd4e08

Browse files
Fix for is_solved
1 parent 4ea2e6d commit 5dd4e08

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/cycles_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def process_solution(model):
143143

144144
def main():
145145
test_min_flow_decomp(filename = "tests/cyclic_graphs/gt3.kmer15.(130000.132000).V23.E32.cyc100.graph")
146-
test_min_flow_decomp(filename = "tests/cyclic_graphs/gt5.kmer27.(655000.660000).V18.E27.mincyc4.e0.75.graph")
146+
# test_min_flow_decomp(filename = "tests/cyclic_graphs/gt5.kmer27.(655000.660000).V18.E27.mincyc4.e0.75.graph")
147147
test_least_abs_errors(filename = "tests/cyclic_graphs/gt5.kmer27.(655000.660000).V18.E27.mincyc4.e0.75.graph")
148148
test_min_path_error(filename = "tests/cyclic_graphs/gt5.kmer27.(655000.660000).V18.E27.mincyc4.e0.75.graph")
149149

flowpaths/minflowdecompcycles.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ def __init__(
169169
self.solve_statistics = {}
170170
self._solution = None
171171
self._lowerbound_k = None
172+
self._is_solved = False
172173

173174
# Get the max flow value on an edge
174175
self.w_max = max(self.G.edges[edge][self.flow_attr]

0 commit comments

Comments
 (0)