{"action":"created","issue":{"url":"https://api.github.com/repos/optimatika/ojAlgo/issues/12","labels_url":"https://api.github.com/repos/optimatika/ojAlgo/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/optimatika/ojAlgo/issues/12/comments","events_url":"https://api.github.com/repos/optimatika/ojAlgo/issues/12/events","html_url":"https://github.com/optimatika/ojAlgo/issues/12","id":125875034,"number":12,"title":"Problems with changing maximization to minimization  + objective value ","user":{"login":"danyaljj","id":2441454,"avatar_url":"https://avatars.githubusercontent.com/u/2441454?v=3","gravatar_id":"","url":"https://api.github.com/users/danyaljj","html_url":"https://github.com/danyaljj","followers_url":"https://api.github.com/users/danyaljj/followers","following_url":"https://api.github.com/users/danyaljj/following{/other_user}","gists_url":"https://api.github.com/users/danyaljj/gists{/gist_id}","starred_url":"https://api.github.com/users/danyaljj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danyaljj/subscriptions","organizations_url":"https://api.github.com/users/danyaljj/orgs","repos_url":"https://api.github.com/users/danyaljj/repos","events_url":"https://api.github.com/users/danyaljj/events{/privacy}","received_events_url":"https://api.github.com/users/danyaljj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-11T05:13:53Z","updated_at":"2016-01-11T19:29:28Z","closed_at":"2016-01-11T19:29:28Z","body":"I have written [this Java code](https://github.com/danyaljj/ojAlgoJavaHook/blob/master/src/main/java/OJalgoHook.java) to make calls to your system. I also have [this jUnit test file](https://github.com/danyaljj/ojAlgoJavaHook/blob/master/src/test/java/JalgoHookTest.java) to make sure things are working fine. \r\n\r\nTwo questions\r\n -  So apparently the [`setMaximize`](https://github.com/danyaljj/ojAlgoJavaHook/blob/master/src/test/java/JalgoHookTest.java) function does not work, since half of my tests fail.  Any idea where I am going wrong? \r\n\r\n - In [getting the value of objective](https://github.com/danyaljj/ojAlgoJavaHook/blob/master/src/main/java/OJalgoHook.java#L206-L214) after solving the problem, I was using `result.getValue()`, which I noticed it always returns 0. Any idea where I am going wrong?  \r\n"},"comment":{"url":"https://api.github.com/repos/optimatika/ojAlgo/issues/comments/170663233","html_url":"https://github.com/optimatika/ojAlgo/issues/12#issuecomment-170663233","issue_url":"https://api.github.com/repos/optimatika/ojAlgo/issues/12","id":170663233,"user":{"login":"danyaljj","id":2441454,"avatar_url":"https://avatars.githubusercontent.com/u/2441454?v=3","gravatar_id":"","url":"https://api.github.com/users/danyaljj","html_url":"https://github.com/danyaljj","followers_url":"https://api.github.com/users/danyaljj/followers","following_url":"https://api.github.com/users/danyaljj/following{/other_user}","gists_url":"https://api.github.com/users/danyaljj/gists{/gist_id}","starred_url":"https://api.github.com/users/danyaljj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danyaljj/subscriptions","organizations_url":"https://api.github.com/users/danyaljj/orgs","repos_url":"https://api.github.com/users/danyaljj/repos","events_url":"https://api.github.com/users/danyaljj/events{/privacy}","received_events_url":"https://api.github.com/users/danyaljj/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T19:29:28Z","updated_at":"2016-01-11T19:29:28Z","body":"Thanks! Problems fixed! "}}