{"action":"created","issue":{"url":"https://api.github.com/repos/embotech/ecos/issues/94","labels_url":"https://api.github.com/repos/embotech/ecos/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/embotech/ecos/issues/94/comments","events_url":"https://api.github.com/repos/embotech/ecos/issues/94/events","html_url":"https://github.com/embotech/ecos/issues/94","id":50791531,"number":94,"title":"Installation problem on Windows","user":{"login":"jaehyunp","id":3742491,"avatar_url":"https://avatars.githubusercontent.com/u/3742491?v=3","gravatar_id":"","url":"https://api.github.com/users/jaehyunp","html_url":"https://github.com/jaehyunp","followers_url":"https://api.github.com/users/jaehyunp/followers","following_url":"https://api.github.com/users/jaehyunp/following{/other_user}","gists_url":"https://api.github.com/users/jaehyunp/gists{/gist_id}","starred_url":"https://api.github.com/users/jaehyunp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaehyunp/subscriptions","organizations_url":"https://api.github.com/users/jaehyunp/orgs","repos_url":"https://api.github.com/users/jaehyunp/repos","events_url":"https://api.github.com/users/jaehyunp/events{/privacy}","received_events_url":"https://api.github.com/users/jaehyunp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-03T06:59:00Z","updated_at":"2015-03-01T12:02:34Z","closed_at":null,"body":"Here is the code and error message I got after installing the latest version of ecos on Windows 8.1 x64. MATLAB version is 8.3 (R2014a).\r\n\r\n```\r\nn = 5;\r\nA = rand(n); b = rand(n, 1);\r\ncvx_begin\r\n      cvx_solver ecos     % without this line, CVX will use its default solver\r\n      variable x(n)\r\n\r\n      minimize sum_square(A*x - b)\r\n      subject to\r\n           x >= 0\r\n cvx_end\r\n \r\nCalling ECOS 1.0.5: 12 variables, 6 equality constraints\r\n   For improved efficiency, ECOS is solving the dual problem.\r\n------------------------------------------------------------\r\n------------------------------------------------------------\r\nStatus: Error\r\nOptimal value (cvx_optval): NaN\r\n \r\n\r\nError using ecos\r\nInternal problem occurred in ECOS while setting up the problem.\r\nPlease send a bug report with data to Alexander Domahidi.\r\nEmail: domahidi@control.ee.ethz.ch\r\n\r\nError in cvx_run_solver (line 50)\r\n   [ varargout{1:nargout} ] = sfunc( inputs{:} );\r\n\r\nError in cvx_solver_shim>solve (line 185)\r\n[ yy, xf, info, zz, xK ] = cvx_run_solver( @ecos, ecos_c, ecos_G, ecos_h, K,\r\necos_A, ecos_b, opts, varnames{:}, settings, 7 ); %#ok\r\n\r\nError in cvxprob/solve (line 423)\r\n            [ x, status, tprec, iters, y ] = shim.solve( At, b, c, cones,\r\n            quiet, prec, solv.settings, eargs{:} );\r\n\r\nError in cvx_end (line 88)\r\n        solve( prob );\r\n```\r\n\r\nIt looks like installation itself went fine...\r\n\r\n```\r\ncvx_install_ecos\r\nCompiling LDL...Building with 'Microsoft Visual C++ 2013 Professional (C)'.\r\nMEX completed successfully.\r\n\t\t\t[done]\r\nCompiling AMD...Building with 'Microsoft Visual C++ 2013 Professional (C)'.\r\nMEX completed successfully.\r\n\t\t\t[done]\r\nCompiling ecos...Building with 'Microsoft Visual C++ 2013 Professional (C)'.\r\nMEX completed successfully.\r\n\t\t\t[done]\r\nCompiling ecos_mex...Building with 'Microsoft Visual C++ 2013 Professional (C)'.\r\nMEX completed successfully.\r\n\t\t\t[done]\r\nLinking...     Building with 'Microsoft Visual C++ 2013 Professional (C)'.\r\nMEX completed successfully.\r\n\t\t\t\t[done]\r\necos successfully compiled. Happy solving!\r\n\r\n---------------------------------------------------------------------------\r\nCVX: Software for Disciplined Convex Programming       (c)2014 CVX Research\r\nVersion 2.1, Build 1085 (9a166a6)                   Tue Jun 3 13:52:20 2014\r\n---------------------------------------------------------------------------\r\nInstallation info:\r\n    Path: C:\\Users\\Jaehyun\\Documents\\MATLAB\\cvx\r\n    MATLAB version: 8.3 (R2014a)\r\n    OS: Windows 8 amd64 version 6.2\r\n    Java version: 1.7.0_11\r\nVerfying CVX directory contents:\r\n    WARNING: The following extra files/directories were found:\r\n        C:\\Users\\Jaehyun\\Documents\\MATLAB\\cvx\\ecos\\ + 1 files, 0 subdirectories\r\n        C:\\Users\\Jaehyun\\Documents\\MATLAB\\cvx\\shims\\cvx_ecos.m\r\n    These files may alter the behavior of CVX in unsupported ways.\r\nPreferences: \r\n    Path: C:\\Users\\Jaehyun\\AppData\\Roaming\\MathWorks\\MATLAB\\cvx_prefs.mat\r\nLicense host:\r\n    Username: Jaehyun\r\n    Host ID: 003048bf55e2 (eth1)\r\nInstalled license:\r\n    No license installed.\r\nNo valid licenses found.\r\n---------------------------------------------------------------------------\r\nSetting CVX paths...already set!\r\nSearching for solvers...7 shims found.\r\n3 solvers initialized (* = default):\r\n *  SDPT3    4.0        {cvx}\\sdpt3\r\n    SeDuMi   1.34       {cvx}\\sedumi\r\n    ECOS     1.0.5      C:\\Users\\Jaehyun\\Documents\\GitHub\\ecos\\matlab\r\n4 solvers skipped:\r\n    ECOS                \r\n        Could not find an ECOS installation.\r\n    GLPK                \r\n        Could not find a GLPK installation.\r\n    Gurobi              {cvx}\\gurobi\\w64\r\n        No valid Gurobi license was found. (Please note that this\r\n        license is *not the same* as the CVX license; it must be\r\n        obtained directly from Gurobi Optimization.) If you do have\r\n        a Gurobi license, the the Gurobi MEX file could not find it.\r\n        Please consult the Gurobi documentation for assistance.\r\n    Mosek    unknown    {cvx}\\mosek\\w64\r\n        A CVX Professional license is required.\r\nSaving updated preferences...done.\r\nTesting with a simple model...done!\r\n---------------------------------------------------------------------------\r\nTo change the default solver, type \"cvx_solver <solver_name>\".\r\nTo save this change for future sessions, type \"cvx_save_prefs\".\r\nPlease consult the users' guide for more information.\r\n---------------------------------------------------------------------------\r\n```"},"comment":{"url":"https://api.github.com/repos/embotech/ecos/issues/comments/76593885","html_url":"https://github.com/embotech/ecos/issues/94#issuecomment-76593885","issue_url":"https://api.github.com/repos/embotech/ecos/issues/94","id":76593885,"user":{"login":"adomahidi","id":3340495,"avatar_url":"https://avatars.githubusercontent.com/u/3340495?v=3","gravatar_id":"","url":"https://api.github.com/users/adomahidi","html_url":"https://github.com/adomahidi","followers_url":"https://api.github.com/users/adomahidi/followers","following_url":"https://api.github.com/users/adomahidi/following{/other_user}","gists_url":"https://api.github.com/users/adomahidi/gists{/gist_id}","starred_url":"https://api.github.com/users/adomahidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adomahidi/subscriptions","organizations_url":"https://api.github.com/users/adomahidi/orgs","repos_url":"https://api.github.com/users/adomahidi/repos","events_url":"https://api.github.com/users/adomahidi/events{/privacy}","received_events_url":"https://api.github.com/users/adomahidi/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T12:02:34Z","updated_at":"2015-03-01T12:02:34Z","body":"@jaehyunp Is this still an open issue?"}}