Minor updates to knapsack docs; add challenge

This commit is contained in:
2020-01-30 13:09:45 -06:00
parent a3309aa4b2
commit 25ba23a58d
4 changed files with 30 additions and 12 deletions

View File

@@ -39,10 +39,10 @@ class BranchPriorityComponent(Component):
"%s/scripts/branchpriority.jl" % src_dirname,
model_file.name,
priority_file.name],
check=True)
check=True,
capture_output=True)
self._merge(np.genfromtxt(priority_file.name,
delimiter=',',
dtype=int))
delimiter=','))
def fit(self, solver):