fix C# code

This commit is contained in:
Laurent Perron
2018-12-11 18:12:59 +01:00
parent 32f43eb232
commit 90ae3ebbcd

View File

@@ -19,7 +19,7 @@ public class CsKnapsack
static void Main()
{
KnapsackSolver solver = new KnapsackSolver(
KnapsackSolver.KNAPSACK_MULTIDIMENSION_BRANCH_AND_BOUND_SOLVER, "test");
KnapsackSolver.SolverType.KNAPSACK_MULTIDIMENSION_BRANCH_AND_BOUND_SOLVER, "test");
long[] profits = { 360, 83, 59, 130, 431, 67, 230, 52, 93,
125, 670, 892, 600, 38, 48, 147, 78, 256,
63, 17, 120, 164, 432, 35, 92, 110, 22,