public void Start(string fileInput, string fileOutput, int timeLimit) { TwoSPInstance instance = new TwoSPInstance(fileInput); int[] ordering = TwoSPUtils.DecreasingWidth(instance); TwoSPUtils.BLLocalSearch2OptFirst(instance, ordering); int[,] coordinates = TwoSPUtils.BLCoordinates(instance, ordering); TwoSPSolution solution = new TwoSPSolution(instance, coordinates); solution.Write(fileOutput); }
protected override void LocalSearch(int[] individual) { TwoSPUtils.BLLocalSearch2OptFirst(Instance, individual); }
public override void LocalSearch(int[] solution) { TwoSPUtils.BLLocalSearch2OptFirst(Instance, solution); }
protected override void Improve(int[] solution) { TwoSPUtils.BLLocalSearch2OptFirst(Instance, solution); }