Adaptive Teaming of Agents and Soldiers