From Bio-Inspired to AI-Driven Algorithms: Modeling, Simulation and Optimization of Complex Systems