{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaOpt/JuMP.jl/issues/364","labels_url":"https://api.github.com/repos/JuliaOpt/JuMP.jl/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/JuliaOpt/JuMP.jl/issues/364/comments","events_url":"https://api.github.com/repos/JuliaOpt/JuMP.jl/issues/364/events","html_url":"https://github.com/JuliaOpt/JuMP.jl/issues/364","id":55056658,"number":364,"title":"GurobiError(10018,\"Problem adding constraints\") + CPLEX segfault","user":{"login":"hunsa","id":10636409,"avatar_url":"https://avatars.githubusercontent.com/u/10636409?v=3","gravatar_id":"","url":"https://api.github.com/users/hunsa","html_url":"https://github.com/hunsa","followers_url":"https://api.github.com/users/hunsa/followers","following_url":"https://api.github.com/users/hunsa/following{/other_user}","gists_url":"https://api.github.com/users/hunsa/gists{/gist_id}","starred_url":"https://api.github.com/users/hunsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunsa/subscriptions","organizations_url":"https://api.github.com/users/hunsa/orgs","repos_url":"https://api.github.com/users/hunsa/repos","events_url":"https://api.github.com/users/hunsa/events{/privacy}","received_events_url":"https://api.github.com/users/hunsa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-21T18:21:06Z","updated_at":"2015-01-21T18:47:23Z","closed_at":null,"body":"I have been playing with Gurobi, CPLEX and JuMP. At least CPLEX, had worked before (before upgrading the OS, julia, JuMP, CPLEX).\r\n\r\nMy config looks like this:\r\nJulia Version 0.3.5\r\nCommit a05f87b (2015-01-08 22:33 UTC)\r\n\"JuMP\"                  => v\"0.7.3\"\r\n\"CPLEX\"                 => v\"0.0.11\"\r\n\"Gurobi\"                => v\"0.1.23\"\r\n\r\nGurobi\r\n---------\r\nI have Gurobi 6.0.0 build v6.0.0rc2 (mac64) \r\nIf I change the solver in bnatt350.jl to \r\n\r\n    using Gurobi\r\n    mod = Model(solver=GurobiSolver(PreCrush=1, Cuts=0, Presolve=0, DisplayInterval=1))\r\n    m_internal = MathProgBase.model(GurobiSolver())\r\n\r\nI get\r\n```\r\nRead MPS format model from file /Users/sascha/Downloads/JuMP.jl-master/examples/data/bnatt350.mps\r\nReading time = 0.01 seconds\r\nbnatt350: 4923 rows, 3150 columns, 19061 nonzeros\r\nERROR: GurobiError(10018,\"Problem adding constraints\")\r\n in include at /opt/local/lib/julia/sys.dylib\r\n in include_from_node1 at /opt/local/lib/julia/sys.dylib\r\nwhile loading /Users/sascha/Downloads/JuMP.jl-master/examples/bnatt350.jl, in expression starting on line 70\r\n```\r\n\r\nCPLEX\r\n----------\r\nCPLEX_Studio1261 (also Mac x86_64)\r\n\r\n```\r\nSelected objective sense:  MINIMIZE\r\nSelected objective  name:  obj\r\nSelected RHS        name:  rhs\r\nSelected bound      name:  bnd\r\nParallel mode: deterministic, using up to 8 threads for concurrent optimization.\r\nInitializing dual steep norms . . .\r\n\r\nIteration log . . .\r\nIteration:     1   Dual objective     =             0.000000\r\nPerturbation started.\r\nIteration:   101   Dual objective     =             0.000000\r\nIteration:   253   Dual objective     =             0.000020\r\n\r\nsignal (11): Segmentation fault: 11\r\n_84c3c4d55d10ed85d167906892b45d7d at /Users/sascha/local/CPLEX_Studio1261/cplex/bin/x86-64_osx/libcplex1261.dylib (unknown line)\r\n_86ca56ee2db9b66412fe44a38f0981bc at /Users/sascha/local/CPLEX_Studio1261/cplex/bin/x86-64_osx/libcplex1261.dylib (unknown line)\r\n```\r\n..... (I cut here)\r\n\r\nInterestingly, both solvers seem to work fine with the other examples.\r\nIt would be great if someone could look into this.\r\n\r\n-Sascha\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaOpt/JuMP.jl/issues/comments/70896558","html_url":"https://github.com/JuliaOpt/JuMP.jl/issues/364#issuecomment-70896558","issue_url":"https://api.github.com/repos/JuliaOpt/JuMP.jl/issues/364","id":70896558,"user":{"login":"joehuchette","id":1373010,"avatar_url":"https://avatars.githubusercontent.com/u/1373010?v=3","gravatar_id":"","url":"https://api.github.com/users/joehuchette","html_url":"https://github.com/joehuchette","followers_url":"https://api.github.com/users/joehuchette/followers","following_url":"https://api.github.com/users/joehuchette/following{/other_user}","gists_url":"https://api.github.com/users/joehuchette/gists{/gist_id}","starred_url":"https://api.github.com/users/joehuchette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joehuchette/subscriptions","organizations_url":"https://api.github.com/users/joehuchette/orgs","repos_url":"https://api.github.com/users/joehuchette/repos","events_url":"https://api.github.com/users/joehuchette/events{/privacy}","received_events_url":"https://api.github.com/users/joehuchette/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T18:47:23Z","updated_at":"2015-01-21T18:47:23Z","body":"@hunsa Do you have an older version of CPLEX by chance? Maybe the segfault is caused by some incompatibility introduced between 12.6 and 12.6.1?"}}