The intelligent medical device (iMD) system coordinates the dynamics of hardware and software components in a self-organizing autonomous system. The iMD system uses advanced modeling and metaheuristics to solve complex optimization problems involving the customization of medical therapies. The system uses evolvable hardware and reprogrammable features to coordinate the diagnostic and therapeutic functions of the iMDs.