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 ]
Matt J

Posts: 4,997
Registered: 11/28/09
Re: Matlab/Ansys Optimization with fmincon (Input variables not changing)
Posted: Apr 1, 2011 7:42 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Brian G" wrote in message <gnijga$2l1$>...
> 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.

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.