While using MATLAB linear programming for optimization the following error occured

''One or more of the residuals, duality gap, or total relative error

has grown 100000 times greater than its minimum value so far:

the dual appears to be infeasible (and the primal unbounded).

(The primal residual < TolFun=1.00e-008.)''

I tried to change large scale algorithm to simplex algorithm using

f=linprog(costfunction,mat8,mat9,mat11,b,optimset('LargeScale','off','Simplex','on'))

&also

options=optimset('LargeScale','off','Simplex','on');

f=linprog(costfunction,mat8,mat9,mat11,b,options);

 and then MATLAB showed an error

LINPROG only accepts inputs of data type double.

Please tell me where I am wrong?Or is there any other way to resolve the problem

''One or more of the residuals, duality gap, or total relative error

has grown 100000 times greater than its minimum value so far:

the dual appears to be infeasible (and the primal unbounded).

(The primal residual < TolFun=1.00e-008.)''

More Naina Kathuria's questions See All
Similar questions and discussions