Much of the work remains classified, but here is one example. MI5, the UK’s domestic security agency, has a limited number of agents to follow terrorist suspects or foreign spies on the streets of the UK. So how do you work out the best locations to position those agents, knowing your target will be moving, while ensuring your agents are not spotted themselves?