In this research the different types of renewable energy are demonstrated and discussed. A comparison between such sources is constructed to know the best resource(s). The geothermal energy, wind, solar, and water energies are discussed here. Operations research is used here to optimize the sources of energy and to select the optimize source depending on all assumed parameters which are taken from real applications. This study represents a comparison between different sources of renewable energy.