JuliaNLSolvers / Optim.jl

Optimization functions for Julia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple optimization failing

mattsignorelli opened this issue · comments

Both of these fail

using Optim

optimize(z->z[1]-0.5, [0.5]) # sitting right on zero
optimize(z->z[1]-0.5, [0]) # not on zero

I realize this is minimizing and not finding the zero...