CPINSim is a package for the simulation of protein complex assembly with constrained protein interaction networks.