Nondifferentiable fractional programming with Hanson-Mond classes of functions