Using optim.jl ( optimization ) - like fminsearch in matlab

Thank you for the clarification. Yes, this is missing in the docs and the error message leads one to believe that in 1D only optimization methods with bounds are possible. I can try to make a PR clarify this in the docs.