Reinforcement Learning-Based Techniques for the Optimal Control of Complex Systems