Ant Colony Optimization Algorithm Implementation of the optimization algorithm in ruby. Running Run in your terminal: $ ruby main.rb. There are some configurations present in main.rb related to the params used. The algorithm is maily at aco/aco.rb.