The program 2d Feeding Optimization was written in Java for swarm 2.1.1, and it requires this or a later version of swarm with support for Java in order to run.  For instructions on the use of this program, check Instructions.doc or Instructions.txt in the Info folder.