{"action":"opened","issue":{"url":"https://api.github.com/repos/beniz/libcmaes/issues/133","labels_url":"https://api.github.com/repos/beniz/libcmaes/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/beniz/libcmaes/issues/133/comments","events_url":"https://api.github.com/repos/beniz/libcmaes/issues/133/events","html_url":"https://github.com/beniz/libcmaes/issues/133","id":63817283,"number":133,"title":"Custom stopping criteria","user":{"login":"kjfergu","id":9022843,"avatar_url":"https://avatars.githubusercontent.com/u/9022843?v=3","gravatar_id":"","url":"https://api.github.com/users/kjfergu","html_url":"https://github.com/kjfergu","followers_url":"https://api.github.com/users/kjfergu/followers","following_url":"https://api.github.com/users/kjfergu/following{/other_user}","gists_url":"https://api.github.com/users/kjfergu/gists{/gist_id}","starred_url":"https://api.github.com/users/kjfergu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjfergu/subscriptions","organizations_url":"https://api.github.com/users/kjfergu/orgs","repos_url":"https://api.github.com/users/kjfergu/repos","events_url":"https://api.github.com/users/kjfergu/events{/privacy}","received_events_url":"https://api.github.com/users/kjfergu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-23T19:53:02Z","updated_at":"2015-03-23T19:53:02Z","closed_at":null,"body":"I am attempting to optimize a function that uses a 4th order polynomial whose coefficients are to be determined by the optimizer.\r\n\r\nI am attempting show that multiple runs of the optimizer converge to the same answer of both the function and its dependent parameters, and to what precision we can say we have that answer. The polynomial formed by the coefficients is relatively similar every time, even though the coefficients themselves tend to vary run-to-run. After some consideration, I believe that this is because I am using the polynomial - not the coefficients - as inputs to the function whose output I use, and of course there are many ways to achieve the same polynomial, so having different coefficients makes sense.\r\n\r\nMy question is that the values of sigma (which I'm assuming is the standard deviation of each value) are still large. I feel that if I decrease the tolerance for sigma that I can require that the parameters be more specifically determined before deciding that the optimization is converged. To this end, I think that overriding the stop criteria is most appropriate.\r\n\r\nWhat is the best way to go about this? I have spent some time reading through the code, but it is hard to tell how far down I need to go to override the stop behavior. Should I completely subclass cmastopcriteria and then pass it to ESOStrategy (And whatever other changes that requires), or is there a more simple way to override this behavior? What sort of functions are expected to be present in cmastopcriteria?"}}