Gravar-mail: Concurrent design of control software and configuration of hardware for robot swarms under economic constraints