A microscopic complex folding-model potential that reproduces the scattering amplitude of Glauber-Sitenko theory in its optical limit is obtained. The real and imaginary parts of this potential are dependent on energy and are determined by known data on the nuclear-density distributions and on the nucleon-nucleon scattering amplitude. For the real part, use is also made of a folding potential involing effective nucleon-nucleon forces and allowing for the nucleon-exchange term. Three forms of semimicroscopic optical potentials where the contributions of the template potentials—that is, the real and the imaginary folding-model potential—are controlled by adjusting two parameters are constructed on this basis. The efficiency of these microscopic and semimicroscopic potentials is tested by means of a comparison with the experimental differential cross sections for the elastic scattering of heavy ions 16O on nuclei at an energy of E ∼ 100 MeV per nucleon.