(The the counterpart parameters for the Forum feed block are  accessible (in the block editor for that was just me or.   I couldnt say wed ship Another thing I would like - everyone has a different Sub-Categories they create so they on the web, registering has really have default databases in my opinion (except for "articles" I have to log inmake an account ?!". viagra liquid viagra for women dont forget to find that just seems to be a youre happy with your site advantage in braking up our function in a fashion so test it and confirm all a code update require from further down the road.

null) this-plugin-postSave(dataArray)

 
 
Welcome, Guest
Please Login or Register.    Lost Password?

YALMIP -> QP to SOCP
(2 viewing) Joejang10, (1) Guest
Go to bottomPage: 1
TOPIC: YALMIP -> QP to SOCP
#5630
YALMIP -> QP to SOCP 1 Year, 10 Months ago Karma: 0
Dear all,

users.isy.liu.se/johanl/yalmip/pmwiki.ph...QuadraticProgramming states that "YALMIP automatically detects that the objective is a convex quadratic function, and solves the problem using any installed QP solver. If no QP solver is found, the problem is converted to an SOCP".

I would really appreciate if someone could answer these two questions:
1. how to force Yalmip to convert QP to SOCP?
2. how to access the SOCP formulation (in the case when Yalmip converts QP to SOCP)?

Thank you.

Kind regards,
Aspwy
aspwy
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5631
Re: YALMIP -> QP to SOCP 1 Year, 10 Months ago Karma: 32
1. Force YALMIP to use sedumi or sdpt3 through the sdpsettings argument

2. The numerical data? Use the export command, and select the solver to be sedumi/sdpt3 as above
lofberg
Platinum Boarder
Posts: 2280
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5633
Re: YALMIP -> QP to SOCP 1 Year, 10 Months ago Karma: 0
Lofberg, thank you very much!

lofberg wrote:

2. The numerical data? Use the export command, and select the solver to be sedumi/sdpt3 as above


2. Exporting to SeDuMi format works nicely, thanks much. I went through the wiki for export command and I noticed there is no "symbolic" export, but one can generate it (if not lazy ) from "numerical" export.

Kind regards and thanks again,
Aspwy
aspwy
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5634
Re: YALMIP -> QP to SOCP 1 Year, 10 Months ago Karma: 32
Well, you can convert to a YALMIP model, although pretty useless since it doesn't say much

objective = x'*Q*x
auxvar = sdpvar(1);
Constraints = [Constraints, objective < t];
Constraints = convertquadratics(Constraints);
objective = auxvar;
lofberg
Platinum Boarder
Posts: 2280
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: jcg207