Skip to content

batch solve command

Paweł Waligóra edited this page Dec 15, 2023 · 15 revisions

Batch Solve

Call

program call with batch-solve command:

./knapsack-solver.exe batch-solve [directory path] [algorithm] [optional arguments]

Functionality

Solves all knapsack problems located in [directory path] at once with specified [algorithm].

Arguments

[directory path] - full path to folder containing batch-info.json file and problems/ subfolder with .json problem files.

[algorithm] - algorithm with which to solve the problems.

Available algorithms:

Command will create subfolder with solutions as a subfolder in directory specified by [directory path].

Optional arguments

for algorithm specific argumets see algorithm specific command argumets