{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaNLSolvers/Optim.jl/issues/583","repository_url":"https://api.github.com/repos/JuliaNLSolvers/Optim.jl","labels_url":"https://api.github.com/repos/JuliaNLSolvers/Optim.jl/issues/583/labels{/name}","comments_url":"https://api.github.com/repos/JuliaNLSolvers/Optim.jl/issues/583/comments","events_url":"https://api.github.com/repos/JuliaNLSolvers/Optim.jl/issues/583/events","html_url":"https://github.com/JuliaNLSolvers/Optim.jl/pull/583","id":312998445,"number":583,"title":"Fix ParticleSwarm for Fminbox","user":{"login":"anriseth","id":5601805,"avatar_url":"https://avatars3.githubusercontent.com/u/5601805?v=4","gravatar_id":"","url":"https://api.github.com/users/anriseth","html_url":"https://github.com/anriseth","followers_url":"https://api.github.com/users/anriseth/followers","following_url":"https://api.github.com/users/anriseth/following{/other_user}","gists_url":"https://api.github.com/users/anriseth/gists{/gist_id}","starred_url":"https://api.github.com/users/anriseth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anriseth/subscriptions","organizations_url":"https://api.github.com/users/anriseth/orgs","repos_url":"https://api.github.com/users/anriseth/repos","events_url":"https://api.github.com/users/anriseth/events{/privacy}","received_events_url":"https://api.github.com/users/anriseth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-10T16:26:54Z","updated_at":"2018-04-10T18:38:18Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/JuliaNLSolvers/Optim.jl/pulls/583","html_url":"https://github.com/JuliaNLSolvers/Optim.jl/pull/583","diff_url":"https://github.com/JuliaNLSolvers/Optim.jl/pull/583.diff","patch_url":"https://github.com/JuliaNLSolvers/Optim.jl/pull/583.patch"},"body":"Fminbox adds linesearch parameters to all solvers that are not explicitly listed. This means that ParticleSwarm and the trust region crash with an error.\r\n\r\n@pkofod why is Newton not supported in Fminbox? \r\nWe should also decide how to handle NewtonTrustRegion and KrylovTrustRegion. \r\nThings to consider:\r\n- Error and say they are not supported \r\n- Include them in the list together with ParticleSwarm etc. \r\n- Add a try-catch block around the line that tries to call `optimizer(linesearch=...)` and error with a message saying something along the lines of \"$optimizer is not supported with Fminbox. If you think it should be, report it on Github\"\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaNLSolvers/Optim.jl/issues/comments/380204827","html_url":"https://github.com/JuliaNLSolvers/Optim.jl/pull/583#issuecomment-380204827","issue_url":"https://api.github.com/repos/JuliaNLSolvers/Optim.jl/issues/583","id":380204827,"user":{"login":"pkofod","id":8431156,"avatar_url":"https://avatars0.githubusercontent.com/u/8431156?v=4","gravatar_id":"","url":"https://api.github.com/users/pkofod","html_url":"https://github.com/pkofod","followers_url":"https://api.github.com/users/pkofod/followers","following_url":"https://api.github.com/users/pkofod/following{/other_user}","gists_url":"https://api.github.com/users/pkofod/gists{/gist_id}","starred_url":"https://api.github.com/users/pkofod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkofod/subscriptions","organizations_url":"https://api.github.com/users/pkofod/orgs","repos_url":"https://api.github.com/users/pkofod/repos","events_url":"https://api.github.com/users/pkofod/events{/privacy}","received_events_url":"https://api.github.com/users/pkofod/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T18:38:18Z","updated_at":"2018-04-10T18:38:18Z","author_association":"COLLABORATOR","body":"> @pkofod why is Newton not supported in Fminbox?\r\n\r\nBecause no one sat down and wrote the barrier hessian I guess? Don't know, I rarely use this part of the package, which is probably also where there are a few rough edges."}}
{"actor":{"display_login":"pkofod"}}