I am working with fmincon and my work is to minimize the cost for t= 24 when i run my code it work for t=1 to t=17 but after that it show me the following error:
"No feasible solution found.
fmincon stopped because the size of the current search direction is less than
twice the default value of the step size tolerance but constraints are not
satisfied to within the default value of the constraint tolerance. "
how i resolve this problem please help me.....