{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/2860","labels_url":"https://api.github.com/repos/haskell/cabal/issues/2860/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/2860/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/2860/events","html_url":"https://github.com/haskell/cabal/issues/2860","id":110844214,"number":2860,"title":"Attempt to find optimal build plans","user":{"login":"jdnavarro","id":215438,"avatar_url":"https://avatars.githubusercontent.com/u/215438?v=3","gravatar_id":"","url":"https://api.github.com/users/jdnavarro","html_url":"https://github.com/jdnavarro","followers_url":"https://api.github.com/users/jdnavarro/followers","following_url":"https://api.github.com/users/jdnavarro/following{/other_user}","gists_url":"https://api.github.com/users/jdnavarro/gists{/gist_id}","starred_url":"https://api.github.com/users/jdnavarro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdnavarro/subscriptions","organizations_url":"https://api.github.com/users/jdnavarro/orgs","repos_url":"https://api.github.com/users/jdnavarro/repos","events_url":"https://api.github.com/users/jdnavarro/events{/privacy}","received_events_url":"https://api.github.com/users/jdnavarro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/haskell/cabal/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/haskell/cabal/labels/solver","name":"solver","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-10-11T09:00:37Z","updated_at":"2015-10-21T21:23:50Z","closed_at":null,"body":"This includes a weight penalty system to measure the quality of different build plans. The preferred versions ranges from hackage should be taken into account for quality of each build plan.\r\n\r\n/cc @kosmikus"},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/150028247","html_url":"https://github.com/haskell/cabal/issues/2860#issuecomment-150028247","issue_url":"https://api.github.com/repos/haskell/cabal/issues/2860","id":150028247,"user":{"login":"grayjay","id":4276753,"avatar_url":"https://avatars.githubusercontent.com/u/4276753?v=3","gravatar_id":"","url":"https://api.github.com/users/grayjay","html_url":"https://github.com/grayjay","followers_url":"https://api.github.com/users/grayjay/followers","following_url":"https://api.github.com/users/grayjay/following{/other_user}","gists_url":"https://api.github.com/users/grayjay/gists{/gist_id}","starred_url":"https://api.github.com/users/grayjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grayjay/subscriptions","organizations_url":"https://api.github.com/users/grayjay/orgs","repos_url":"https://api.github.com/users/grayjay/repos","events_url":"https://api.github.com/users/grayjay/events{/privacy}","received_events_url":"https://api.github.com/users/grayjay/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T21:23:50Z","updated_at":"2015-10-21T21:23:50Z","body":"@kosmikus I haven't had a chance to clean up my code yet, but here is the branch, if you want to try it out: https://github.com/grayjay/cabal/tree/optimal-build-plans  I'll probably have more time to work on it in the next few days.  I actually switched back to ordering nodes the way cabal does currently, so that my branch should find the same solutions when `--max-penalty` is not used, and it's easier to compare performance."}}