Wector1 / ant_colony_optimization

Ant Colony Optimization algorithm solving Google HashCode 2020 online elimination problem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ant Colony Optimization

Ant Colony Optimization algorithm solving Google HashCode 2020 online elimination problem

Problem Statement

The problem statement can be found here

Solution

The solution is based on Ant Colony Optimization algorithm with additional mutations.

How to run

bash -c "git clone https://github.com/Wector1/ant_colony_optimization.git && \
         cd ant_colony_optimization && \
         cmake -B build             && \
         cd build                   && \
         make                       && \
         ./main"

Program accepts data through the standard input and outputs the solution to the standard output. Alternatively, you can specify the input and output files using the following command:

./main <input_file >output_file

About

Ant Colony Optimization algorithm solving Google HashCode 2020 online elimination problem


Languages

Language:C++ 98.4%Language:CMake 1.6%