Reconfigurable Radio Frequency (RF) Front-end and its Fast Optimization for Adapting to Dynamic Communication Environments