What are the orders of the variables exported by the 'export' command consistent with? similarly, what are the orders of the constraints exported by the 'export' command consistent with?
Does it depend on the order in which the variables are defined? And the order in which the constraints are written?
For example:
x1=sdpvar(2,1);
x2=sdpvar(2,1);
x3=sdpvar(2,1);
Con=[];
Con = Con + [lb1<=x1<=ub1];
Con = Con + [lb2<=x2<=ub2];
Con = Con + [lb3<=x3<=ub3];
Con = Con + [lb4<=x1+x3<=ub4];
Con = Con + [lb5<=x2+x3<=ub5];
obj=A*[x1;x2];
options = sdpsettings('solver','cplex','verbose',1);
[model,recoverymodel,diagnostic,internalmodel] = export(Con,obj,options);
The details in the exported 'model' are as follows:
model.H,model.f,model.Aineq,model.bineq ...