public void Start(string fileInput, string fileOutput, int timeLimit) { QAPInstance instance = new QAPInstance(fileInput); int[] assignment = QAPUtils.GRCSolution(instance, 1.0); QAPUtils.LocalSearch2OptFirst(instance, assignment); QAPSolution solution = new QAPSolution(instance, assignment); solution.Write(fileOutput); }
protected override void Improve(int[] solution) { QAPUtils.LocalSearch2OptFirst(Instance, solution); }
protected override void LocalSearch(int[] individual) { QAPUtils.LocalSearch2OptFirst(Instance, individual); }
public override void LocalSearch(int[] solution) { QAPUtils.LocalSearch2OptFirst(Instance, solution); }