It only means that it did not converge in the default number of iterations. It may be that the problem is infeasible. You can try increasing the number of iterations via ...

opt = mpoption('VERBOSE', 2, 'CONSTR_MAX_IT', 250);
runopf('yourcase', opt);

Also, when creating a new case, it is always a good idea to make sure that you can successfully solve a power flow, before attempting an OPF, but without more information it is impossible to know what is happening in your case.

--
Ray Zimmerman
Senior Research Associate
428-B Phillips Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645


On Mar 21, 2008, at 8:12 AM, kanwardeep singh wrote:


Dear Sir,
Thanks for your response to my earlier querry.
I have been facing a problem that when I tried to run a separate OPF program for a case of 6 buses, using 'fmincon' , a message is displayed on command window as follows:
Maximum number of function evaluations exceeded;
 increase OPTIONS.MaxFunEvals.
Please help me that where I am wrong.

KDSingh


  • MaxFunEvals kanwardeep singh
    • Re: MaxFunEvals Ray Zimmerman

Reply via email to