public void Start(string inputFile, string outputFile, int timeLimit) { SPPInstance instance = new SPPInstance(inputFile); int[] lowerBounds = new int[instance.NumberItems]; int[] upperBounds = new int[instance.NumberItems]; for (int i = 0; i < instance.NumberItems; i++) { lowerBounds[i] = 0; upperBounds[i] = instance.NumberSubsets - 1; } DiscreteILS ils = new DiscreteILS2OptBest4SPP(instance, restartIterations, lowerBounds, upperBounds); ils.Run(timeLimit - timePenalty); SPPSolution solution = new SPPSolution(instance, ils.BestSolution); solution.Write(outputFile); }