|
Re: roots of poly(2) 11 Months, 4 Weeks ago
|
Karma: 0
|
|
i wrote it
options = sdpsettings(options,'solver','bmibnb','bmibnb.lpsolver','gurobi');
options = sdpsettings(options,'verbose',6);
solvesdp([-5<=x<=5,p==0],[],options)
double(x)
double(p)
what is fault?
|
|
|
|
|
|
|
Re: roots of poly(2) 11 Months, 4 Weeks ago
|
Karma: 0
|
|
options = sdpsettings(options,'solver','bmibnb','bmibnb.lpsolver','GUROBI');
oh,i missed it,i also wrote above line
but dont work
|
|
|
|
|
|
|
Re: roots of poly(2) 11 Months, 4 Weeks ago
|
Karma: 32
|
What, nothing is displayed if you run?
| Code: |
options = sdpsettings('solver','bmibnb');
solvesdp([-5<=x<=5,p==0],[],options)
|
|
|
lofberg
Platinum Boarder
Posts: 2280
|
|
|
|
|
Re: roots of poly(2) 11 Months, 4 Weeks ago
|
Karma: 0
|
|
it is an Embroglio,i wrote this completely:
sdpvar alfat q Zeta1 zetadot1;
x = [alfat;q;Zeta1;zetadot1];
p=alfat^4+Zeta1^2*zetadot1^2+q^6==>example
options = sdpsettings('bmibnb.uppersolver','fmincon','bmibnb.lowersolver','GUROBI');
options = sdpsettings(options,'solver','bmibnb','bmibnb.lpsolver','GUROBI');
options = sdpsettings(options);
solvesdp([-5<=x<=5,p==0],[],options)
double(x)
double(p)
is this correct or not?
|
|
|
|
Last Edit: 2012/05/30 03:29 By hossein.
|
|
|
Re: roots of poly(2) 11 Months, 4 Weeks ago
|
Karma: 0
|
|
how i tune solver options?
|
|
|
|
|
|
|
Re: roots of poly(2) 11 Months, 4 Weeks ago
|
Karma: 32
|
What I meant is that you should specify the solvers used by YALMIP in bmibnb, and then show me which solvers YALMIP picked by showing the displayed text when bmibnb is started. Hence, we can figure out if you only have slow solvers installed.
| Code: |
options = sdpsettings('solver','bmibnb');
solvesdp([-5<=x<=5,p==0],[],options)
|
Something like this will be displayed
| Code: |
>> solvesdp([-1<=recover(depends(p))<=1,p==0],[],sdpsettings('solver','bmibnb'))
* Starting YALMIP bilinear branch & bound.
* Upper solver : fmincon
* Lower solver : GUROBI
* LP solver : GUROBI
|
Hence, YALMIP picked fmincon and gurobi, since these were avaliable
|
|
lofberg
Platinum Boarder
Posts: 2280
|
|
|
|
|