I am solving the following linear programming problem, I am guiding myself on the documentation
Every time I execute I get the following error
Dimensions of matrices being concatenated are not consistent.
I have the objective function and restrictions as follows
%F.O
f=[0.669 0.654 0.503 0.683 0.670 0.673 0.749 0.655 0.660 0.583 1.243 0.639 2.024 2.156 1.672 0.473 0.139 0.687];
%Restrictions
Aeq=[0.1 0.12 0.335 0.15 0.18 0.19 0.12 0.15 0.15 0.15 0.15 0.11 0.13 0.46;
0.3 0.24 0.03 0.05 0.04 0.27 0.03 0.24 0.15 0.52 0.52;
0.1 0.12 0.31 0.15 0.19 0.08 0.2 0.12 0.15 0.50 0.34 0.44;
0.26 0.50;
0.06 0.17];
b=[285.71; 305.33; 450; 262.50; 41.50];
and I execute it with the following command
x=linprog(f,Aeq,b)
The restrictions take them out of the following exercise
This should be the result of z