Thread Subject: help needed in fmincon

Subject: help needed in fmincon

From: amitsoni.1984@gmail.com

Date: 30 Nov, 2006 20:58:40

Message: 1 of 2

Hi,

I am using the fmincon function of the Optimization toolbox but its not
teminating and says: "Maximum number of function evaluations exceeded;
 increase OPTIONS.MaxFunEvals."

But I cannot figure out how to do this.
Can anyone help me with this?

Thanks
Amit

Subject: help needed in fmincon

From: Dmitrey

Date: 1 Dec, 2006 03:30:57

Message: 2 of 2

Hi amitsoni,
just use
options = optimset(@fmincon);
options.MaxFunEvals = 150880;
[x fval ...] = fmincon(@objFun,...,options);
WBR, D

 amitsoni.1984@gmail.com wrote:
>
>
> Hi,
>
> I am using the fmincon function of the Optimization toolbox but its
> not
> teminating and says: "Maximum number of function evaluations
> exceeded;
> increase OPTIONS.MaxFunEvals."
>
> But I cannot figure out how to do this.
> Can anyone help me with this?
>
> Thanks
> Amit
>
>

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com