I am getting a strange error with the linprog solver:
"Error in farmer (line 28)
[x,obj,exitflag,output,lambda] = check(prob,c,f,A,B,D,b,d);"
There are some warning messages messages appearing on lines 28 and 29 on each output variables of farmer.m file:
"The value assigned here to ____ appears to be unused. Consider replacing it by ~"
I have attached the code. Can anyone please help me to fix the code?