Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Optimization
Replies: 6   Last Post: Feb 27, 2013 10:42 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alan Weiss

Posts: 1,206
Registered: 11/27/08
Re: Optimization
Posted: Nov 26, 2012 12:37 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 11/22/2012 2:16 PM, Matt J wrote:
> "Carlos Alejandro Perez Lasso" <carlosalejandro85@gmail.com> wrote in
> message <k8lisn$aqf$1@newscl01ah.mathworks.com>...

>>
>> 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.

> =================
>
> It seems like it would be hard to know in advance whether such a
> function was even differentiable. As for local flatness, an easy test
> you can do is
>
> small=1e-6;
>
> for i=1:N
> f(x)-f(x+small*rand(size(x))) end
>
> If this returns N zeros, it's a strong sign know your objective
> function f() is locally flat.


You might want to consult the documentation on optimizing simulations
for suggestions:
http://www.mathworks.com/help/optim/ug/optimizing-a-simulation-or-ordinary-differential-equation.html

Alan Weiss
MATLAB mathematical toolbox documentation



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.