From: "Carlos Alejandro Perez Lasso" <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Optimization
Date: Thu, 22 Nov 2012 16:12:07 +0000 (UTC)
Organization: RWTH Aachen
Lines: 21
Message-ID: <k8lisn$aqf$>
References: <k8jaks$fqr$> <k8jjv2$ioc$>
Reply-To: "Carlos Alejandro Perez Lasso" <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1353600727 11087 (22 Nov 2012 16:12:07 GMT)
NNTP-Posting-Date: Thu, 22 Nov 2012 16:12:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3573819
Xref: comp.soft-sys.matlab:783285

"Matt J" wrote in message <k8jjv2$ioc$>...
> "Carlos Alejandro Perez Lasso" <> wrote in message <k8jaks$fqr$>...
> > Hi Matlab users,
> > 
> > My purpose is to use the Optimtool to estimate material model parameters so that running the model with such parameters in Abaqus results in a predicted curve close to some experimental data. 
> > I am trying to solve the problem with the lsqnonlin solver 
> ============
> If it's a curve fitting problem, mightn't it be better to use lsqcurvefit.
> > Optimization completed because the size of the gradient at the initial point 
> > is less than the default value of the function tolerance.
> ==========
> This usually occurs because you have quantizing operations like ROUND, FLOOR, CEIL, etc... in your objective function. They make the function locally flat in places, making the initial point trivially a point of zero gradient.

Thank you Matt for your answer. 
I will try lsqcurvefit and see what happens. 
Regarding the objective function, it doesn't have quantizing operations like the once you described above. It does contain operations that write python scripts to produce input files for running Abaqus simulation and retrieve information once the simulation is done.
Thanks for your help Matt.