Skip to content

Commit 0ce4e58

Browse files
committed
add a comment
1 parent 7e43526 commit 0ce4e58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

discrete-optimization/knapsack/solverJava.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ def solve_it(input_data):
1414
tmp_file.close()
1515

1616
# Runs the command: java Solver -file=tmp.data
17-
os.system("javac .\Solver.java")
17+
18+
os.system("javac .\Solver.java") # this line is addded by taotao
19+
1820
process = Popen(['java', 'Solver', '-file=' + tmp_file_name], stdout=PIPE)
1921
(stdout, stderr) = process.communicate()
2022
# removes the temporay file

0 commit comments

Comments
 (0)