{"action":"opened","issue":{"url":"https://api.github.com/repos/embotech/ecos/issues/108","labels_url":"https://api.github.com/repos/embotech/ecos/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/embotech/ecos/issues/108/comments","events_url":"https://api.github.com/repos/embotech/ecos/issues/108/events","html_url":"https://github.com/embotech/ecos/issues/108","id":56252849,"number":108,"title":"BB int variable","user":{"login":"borient","id":966046,"avatar_url":"https://avatars.githubusercontent.com/u/966046?v=3","gravatar_id":"","url":"https://api.github.com/users/borient","html_url":"https://github.com/borient","followers_url":"https://api.github.com/users/borient/followers","following_url":"https://api.github.com/users/borient/following{/other_user}","gists_url":"https://api.github.com/users/borient/gists{/gist_id}","starred_url":"https://api.github.com/users/borient/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borient/subscriptions","organizations_url":"https://api.github.com/users/borient/orgs","repos_url":"https://api.github.com/users/borient/repos","events_url":"https://api.github.com/users/borient/events{/privacy}","received_events_url":"https://api.github.com/users/borient/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-02T15:49:38Z","updated_at":"2015-02-02T15:49:38Z","closed_at":null,"body":"According to the description, int_vars_idx is an array with indices of integer variables (0-based indexing, must be strictly monotonically increasing).\r\nHowever, the line below (line 93 in ecos_bb_preproc.c) shows that the index starts right after the end of the binary index.\r\n\r\n /* Now insert the new zeros and expand the column indices as needed for INTEGER vars*/\r\n    for (j=num_bool_vars; j<(num_bool_vars + num_int_vars); ++j){\r\n        k = int_vars_idx[j];"}}