Hi all,

When I use NMaximize in mathematica, I always get the error like this:

NMaximize::nrnum: The function value 10613.354-3.142 I is not a real number at {r,x,\[Alpha]} = {0.1909383,0.7839172,1.676922}.

My function is complicated because it has hypergeometric function, so does anyone know how to solve this problem or avoid it?

Any suggestions are very appreciated,

xdu