The Math Forum



Search All of the Math Forum:

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


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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Matlab/Ansys Optimization with fmincon (Input variables not changing)
Replies: 5   Last Post: Apr 7, 2011 4:36 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Pris Orig

Posts: 8
Registered: 3/27/11
Re: Matlab/Ansys Optimization with fmincon (Input variables not changing)
Posted: Apr 3, 2011 9:44 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi Matt,

Can you help me with my question above?

Thanks.

"Matt J" wrote in message <in5nsu$efb$1@fred.mathworks.com>...
> "Brian G" wrote in message <gnijga$2l1$1@fred.mathworks.com>...
> > I am currently working on getting matlab to run an ansys model, retrieve principal stresses, and feedback into a matlab optimizer, specifically fmincon. My issue is not one of communication of variables (everything seems to be passing well between the 2 programs), however, fmincon evaluates the objective function with the same design variables for every iteration. In other words, it takes my initial guess and uses it for every iteration as if it is not changing the input variables based upon the feedback it is receiving.
> ====================
>
> This can happen if your objective function includes rounding, ceil/floor operations, and other things that can give the graph of the function a staircase -like shape. See this recent thread for a discussion.
>
> http://www.mathworks.com/matlabcentral/newsreader/view_thread/305315#828419




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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.