Matlab Warning: Solver not applicable (mosek)
Matlab + yalmip toolbox, when calling cplex or mosek to solve the optimization problem, the result is always wrong: Warning: Solver not applicable (mosek), Warning: Solver not applicable (cplex), I think my software is installed correctly, Now I have several reasons for doubt:
1. Too many constraints, the scale of problem solving is too large
2. The software version does not match?(matlab2014b+mosek 8.0.0.60/cplex 12.6.3)
3. There are some mistakes in the code or there is no feasible solution (I think it is unlikely)
Please help me see what to do,thank you !
Code for solving part:
ops=sdpsettings
ops = sdpsettings(‘verbose’,2,’solver’,’mosek’,’fmincon.MaxFunEvals’,30000);
sol =solvesdp(Constraint,f,ops,’full’);
if sol.problem== 0
value(f)
else
disp(‘求解过程中出错’);
operation result:
ops =
solver: ”
verbose: 1
debug: 0
usex0: 0
warning: 1
cachesolvers: 0
showprogress: 0
saveduals: 1
removeequalities: 0
savesolveroutput: 0
savesolverinput: 0
saveyalmipmodel: 0
convertconvexquad: 1
assertgpnonnegativity: 1
thisisnotagp: 0
radius: Inf
relax: 0
dualize: 0
savedebug: 0
expand: 1
allowmilp: 1
allownonconvex: 1
shift: 0
dimacs: 0
beeponproblem: [-5 -4 -3 -2 -1]
bisection: [1×1 struct]
bilevel: [1×1 struct]
bmibnb: [1×1 struct]
bnb: [1×1 struct]
cutsdp: [1×1 struct]
kkt: [1×1 struct]
moment: [1×1 struct]
mp: [1×1 struct]
mpcvx: [1×1 struct]
plot: [1×1 struct]
robust: [1×1 struct]
sos: [1×1 struct]
refiner: [1×1 struct]
baron: []
bintprog: [1×1 struct]
bonmin: []
cdcs: [1×1 struct]
cdd: [1×1 struct]
cbc: [1×1 struct]
clp: [1×1 struct]
cplex: [1×1 struct]
csdp: [1×1 struct]
dsdp: [1×1 struct]
ecos: []
filtersd: [1×1 struct]
fmincon: [1×1 struct]
fminsearch: [1×1 struct]
frlib: [1×1 struct]
glpk: [1×1 struct]
gurobi: [1×1 struct]
ipopt: [1×1 struct]
intlinprog: [1×1 optim.options.Intlinprog]
knitro: [1×1 struct]
linprog: [1×1 struct]
lmilab: [1×1 struct]
lmirank: [1×1 struct]
logdetppa: [1×1 struct]
lpsolve: [1×1 struct]
lsqnonneg: [1×1 struct]
lsqlin: [1×1 struct]
kypd: [1×1 struct]
nag: [1×1 struct]
mosek: [1×1 struct]
nomad: []
ooqp: []
penbmi: [1×1 struct]
penlab: []
pensdp: [1×1 struct]
pop: [1×1 struct]
qpoases: []
osqp: []
qsopt: [1×1 struct]
quadprog: [1×1 struct]
quadprogbb: [1×1 struct]
scip: []
scs: [1×1 struct]
sdpa: [1×1 struct]
sdplr: [1×1 struct]
sdpt3: [1×1 struct]
sdpnal: [1×1 struct]
sedumi: [1×1 struct]
sparsepop: [1×1 struct]
sparsecolo: [1×1 struct]
vsdp: [1×1 struct]
xpress: []
Warning: Solver not applicable (mosek)
求解过程中出错
>>Matlab + yalmip toolbox, when calling cplex or mosek to solve the optimization problem, the result is always wrong: Warning: Solver not applicable (mosek), Warning: Solver not applicable (cplex), I think my software is installed correctly, Now I have several reasons for doubt:
1. Too many constraints, the scale of problem solving is too large
2. The software version does not match?(matlab2014b+mosek 8.0.0.60/cplex 12.6.3)
3. There are some mistakes in the code or there is no feasible solution (I think it is unlikely)
Please help me see what to do,thank you !
Code for solving part:
ops=sdpsettings
ops = sdpsettings(‘verbose’,2,’solver’,’mosek’,’fmincon.MaxFunEvals’,30000);
sol =solvesdp(Constraint,f,ops,’full’);
if sol.problem== 0
value(f)
else
disp(‘求解过程中出错’);
operation result:
ops =
solver: ”
verbose: 1
debug: 0
usex0: 0
warning: 1
cachesolvers: 0
showprogress: 0
saveduals: 1
removeequalities: 0
savesolveroutput: 0
savesolverinput: 0
saveyalmipmodel: 0
convertconvexquad: 1
assertgpnonnegativity: 1
thisisnotagp: 0
radius: Inf
relax: 0
dualize: 0
savedebug: 0
expand: 1
allowmilp: 1
allownonconvex: 1
shift: 0
dimacs: 0
beeponproblem: [-5 -4 -3 -2 -1]
bisection: [1×1 struct]
bilevel: [1×1 struct]
bmibnb: [1×1 struct]
bnb: [1×1 struct]
cutsdp: [1×1 struct]
kkt: [1×1 struct]
moment: [1×1 struct]
mp: [1×1 struct]
mpcvx: [1×1 struct]
plot: [1×1 struct]
robust: [1×1 struct]
sos: [1×1 struct]
refiner: [1×1 struct]
baron: []
bintprog: [1×1 struct]
bonmin: []
cdcs: [1×1 struct]
cdd: [1×1 struct]
cbc: [1×1 struct]
clp: [1×1 struct]
cplex: [1×1 struct]
csdp: [1×1 struct]
dsdp: [1×1 struct]
ecos: []
filtersd: [1×1 struct]
fmincon: [1×1 struct]
fminsearch: [1×1 struct]
frlib: [1×1 struct]
glpk: [1×1 struct]
gurobi: [1×1 struct]
ipopt: [1×1 struct]
intlinprog: [1×1 optim.options.Intlinprog]
knitro: [1×1 struct]
linprog: [1×1 struct]
lmilab: [1×1 struct]
lmirank: [1×1 struct]
logdetppa: [1×1 struct]
lpsolve: [1×1 struct]
lsqnonneg: [1×1 struct]
lsqlin: [1×1 struct]
kypd: [1×1 struct]
nag: [1×1 struct]
mosek: [1×1 struct]
nomad: []
ooqp: []
penbmi: [1×1 struct]
penlab: []
pensdp: [1×1 struct]
pop: [1×1 struct]
qpoases: []
osqp: []
qsopt: [1×1 struct]
quadprog: [1×1 struct]
quadprogbb: [1×1 struct]
scip: []
scs: [1×1 struct]
sdpa: [1×1 struct]
sdplr: [1×1 struct]
sdpt3: [1×1 struct]
sdpnal: [1×1 struct]
sedumi: [1×1 struct]
sparsepop: [1×1 struct]
sparsecolo: [1×1 struct]
vsdp: [1×1 struct]
xpress: []
Warning: Solver not applicable (mosek)
求解过程中出错
>> Matlab + yalmip toolbox, when calling cplex or mosek to solve the optimization problem, the result is always wrong: Warning: Solver not applicable (mosek), Warning: Solver not applicable (cplex), I think my software is installed correctly, Now I have several reasons for doubt:
1. Too many constraints, the scale of problem solving is too large
2. The software version does not match?(matlab2014b+mosek 8.0.0.60/cplex 12.6.3)
3. There are some mistakes in the code or there is no feasible solution (I think it is unlikely)
Please help me see what to do,thank you !
Code for solving part:
ops=sdpsettings
ops = sdpsettings(‘verbose’,2,’solver’,’mosek’,’fmincon.MaxFunEvals’,30000);
sol =solvesdp(Constraint,f,ops,’full’);
if sol.problem== 0
value(f)
else
disp(‘求解过程中出错’);
operation result:
ops =
solver: ”
verbose: 1
debug: 0
usex0: 0
warning: 1
cachesolvers: 0
showprogress: 0
saveduals: 1
removeequalities: 0
savesolveroutput: 0
savesolverinput: 0
saveyalmipmodel: 0
convertconvexquad: 1
assertgpnonnegativity: 1
thisisnotagp: 0
radius: Inf
relax: 0
dualize: 0
savedebug: 0
expand: 1
allowmilp: 1
allownonconvex: 1
shift: 0
dimacs: 0
beeponproblem: [-5 -4 -3 -2 -1]
bisection: [1×1 struct]
bilevel: [1×1 struct]
bmibnb: [1×1 struct]
bnb: [1×1 struct]
cutsdp: [1×1 struct]
kkt: [1×1 struct]
moment: [1×1 struct]
mp: [1×1 struct]
mpcvx: [1×1 struct]
plot: [1×1 struct]
robust: [1×1 struct]
sos: [1×1 struct]
refiner: [1×1 struct]
baron: []
bintprog: [1×1 struct]
bonmin: []
cdcs: [1×1 struct]
cdd: [1×1 struct]
cbc: [1×1 struct]
clp: [1×1 struct]
cplex: [1×1 struct]
csdp: [1×1 struct]
dsdp: [1×1 struct]
ecos: []
filtersd: [1×1 struct]
fmincon: [1×1 struct]
fminsearch: [1×1 struct]
frlib: [1×1 struct]
glpk: [1×1 struct]
gurobi: [1×1 struct]
ipopt: [1×1 struct]
intlinprog: [1×1 optim.options.Intlinprog]
knitro: [1×1 struct]
linprog: [1×1 struct]
lmilab: [1×1 struct]
lmirank: [1×1 struct]
logdetppa: [1×1 struct]
lpsolve: [1×1 struct]
lsqnonneg: [1×1 struct]
lsqlin: [1×1 struct]
kypd: [1×1 struct]
nag: [1×1 struct]
mosek: [1×1 struct]
nomad: []
ooqp: []
penbmi: [1×1 struct]
penlab: []
pensdp: [1×1 struct]
pop: [1×1 struct]
qpoases: []
osqp: []
qsopt: [1×1 struct]
quadprog: [1×1 struct]
quadprogbb: [1×1 struct]
scip: []
scs: [1×1 struct]
sdpa: [1×1 struct]
sdplr: [1×1 struct]
sdpt3: [1×1 struct]
sdpnal: [1×1 struct]
sedumi: [1×1 struct]
sparsepop: [1×1 struct]
sparsecolo: [1×1 struct]
vsdp: [1×1 struct]
xpress: []
Warning: Solver not applicable (mosek)
求解过程中出错
>> optimization;matlab+mosek;optimization MATLAB Answers — New Questions