The protection of defended assets such as military bases and population centers against ballistic weapons (e.g. rockets and mortars) is a highly relevant problem in the military conflicts of today and tomorrow. In order to neutralize threats of this kind, they have to be detected and engaged before causing any damage to the defended assets. We propose algorithms for solving the resource allocation problem in real-time, and empirically investigate their performance using the open source testbed SWARD. The results show that a particle swarm optimization algorithm produce high quality solution for small-scale problems, and that agenetic algorithm yields the best solutions for the largest tested problem instances.