This is the particle swarm optimization (PSO) code I wrote for the Lab 5 assignment as a TA for the Spring 2012 rendition of Cell & Systems Modeling at Carnegie Mellon University.