I'm trying to test the MOSEK solver in the YALMIP MATLAB environment to try and solve a DIMACS 7 problem, but am having some issues. In particular, I'm trying to solve the "sched_50_50_orig" problem given near the bottom of the following link: http://dimacs.rutgers.edu/Challenges/Seventh/Instances/. The following MATLAB code is used to solve the problem once the sched_50_50_orig.mat file has been loaded into MATLAB's memory,
options = sdpsettings('solver','mosek','verbose',1);
m = 4979;
x = sdpvar(m,1);
objective = c'*x;
constraints = [A*x == b];
optimize(constraints,objective,options);
x_opt = value(x);
Unfortunately, the above code gives me a primal infeasibility error instead of finding the optimal solution of 26673 given in the following link: http://dimacs.rutgers.edu/Challenges/Seventh/Instances/tablestat.html. Any help as to what I'm doing wrong would be much appreciated, thanks very much.
K: [1x1 struct] c: [4979x1 double] b: [2527x1 double] A: [2527x4979 double]K describes cones.
– Michal Adamaszek Apr 26 '18 at 16:36K.lare linear cones (i.e. constraints of the form x>=0) andK.qare quadratic cones. And so on.