Error in installing gurobi solver

(Qingqing Zhao) #1

for some reason, my gurobi solver suddenly became v8 this afternoon and I try to reinstall the v7. However, I get this error code when I try to re-setup the cvx and the gurobi solver.


Setting CVX paths…already set!
Searching for solvers…5 shims found.
3 solvers initialized (* = default):

  • Mosek 8.0.0.60 {cvx}/mosek/maci64
    SDPT3 4.0 {cvx}/sdpt3
    SeDuMi 1.34 {cvx}/sedumi
    2 solvers skipped:
    GLPK
    Could not find a GLPK installation.
    /Users/zhaoqingqing/Desktop/bound/bound_code/CVX/shims/cvx_gurobi
    unexpected error:
    Error using vertcat
    Dimensions of arrays being concatenated are not consistent.
    Error in cvx_gurobi
    Error in cvx_setup (line 83)
    tsolv = feval( tsolv.sname, tsolv );
    Saving updated preferences…done.
    Testing with a simple model…done!

To change the default solver, type “cvx_solver <solver_name>”.
To save this change for future sessions, type “cvx_save_prefs”.
Please consult the users’ guide for more information.