Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么回溯(减半)行搜索失败?实际上,有时在我的 R 代码中,我有一个上升方向和步长 $t = 1e-21$,这意味着错误:行搜索失败(tol=1e-10)并且我选择了 alpha=0.3 和 beta=0.5。
我要做一个疯狂的猜测,并说由于浮点舍入,你不能可靠地使步数变得那么小。
但我真的不知道。除非您按照建议向我们展示什么不起作用,否则其他人也不会这样做。