diff --git a/data/roadef_challenge_2011/solution_checker/solution_checker.cc b/data/roadef_challenge_2011/solution_checker/solution_checker.cc index ef1e01ff1b..cf9c49758b 100644 --- a/data/roadef_challenge_2011/solution_checker/solution_checker.cc +++ b/data/roadef_challenge_2011/solution_checker/solution_checker.cc @@ -268,6 +268,7 @@ int64 SolutionChecker::GetObjectiveCost() const { return total_cost; } + bool SolutionChecker::HasProcessMoved(const Process& process) const { const ProcessIndex process_id = process.id(); const MachineIndex initial_machine_id = initial_assignments_.at(process_id); diff --git a/data/roadef_challenge_2011/solution_checker/solution_checker.h b/data/roadef_challenge_2011/solution_checker/solution_checker.h index 63f8430887..a9094b814a 100644 --- a/data/roadef_challenge_2011/solution_checker/solution_checker.h +++ b/data/roadef_challenge_2011/solution_checker/solution_checker.h @@ -275,6 +275,7 @@ class SolutionChecker { // document. Note this method assumes all hard constraints are satisfied. int64 GetObjectiveCost() const; + private: // Returns true if process doesn't run on the same machine in the // initial assignment and in the new assignment. diff --git a/data/roadef_challenge_2011/solution_checker/solution_checker_run.cc b/data/roadef_challenge_2011/solution_checker/solution_checker_run.cc index d1b0b74bc2..039458ef4a 100644 --- a/data/roadef_challenge_2011/solution_checker/solution_checker_run.cc +++ b/data/roadef_challenge_2011/solution_checker/solution_checker_run.cc @@ -75,5 +75,6 @@ int main(int argc, char **argv) { LG << "Solution is invalid." << endl; } + return 0; }