Could not find a feasible initial point

1 view (last 30 days)
sit fauziah
sit fauziah on 15 May 2021
Commented: sit fauziah on 17 May 2021
Hi there, here I have some question regarding to the above issue as I've got this respond after run the code;
Initially following are my code;
t=Mat(4, j);
for i=1:t
LB(i)=(-pi^2*Es*Is)/L(i)^2 ;
UB(i)=0;
end
for i=t+1:length(L)
LB(i)=0;
UB(i)=ac*Ac;
For this part I've got no problem.
Then in order to avoid zero answer I've changed the UB(i) for i = t and also LB(i) for i=t+1 : length by putting 5% ratio at each respective bound as following code;
for i=1:t
LB(i)=(-pi^2*Es*Is)/L(i)^2;
UB(i)=0.05*LB(i);
end
for i=t+1:length(L)
UB(i)=ac*Ac;
LB(i)=0.05*UB(i);
The problem is I've got respond from the command window "Could not find a feasible initial point" after I run the window. Is my way to change the code(as bolded area) correct?
Your guidance is very much appreciated.Thank you.=)
  2 Comments
Matt J
Matt J on 15 May 2021
Edited: Matt J on 15 May 2021
Our ability to troubleshoot here is limited, because we do not know the values of any of your variables. As long as the variables in the code shown are all non-negative, it should be fine, and you should consider that the infeasibility may be coming from somewhere else.
sit fauziah
sit fauziah on 17 May 2021
Ok sir.Thank you for your response. I really appreciate it. :)

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!