Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations pierreick on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to minimize cost function define over volume omega using BFGS algorithm? 1

Status
Not open for further replies.

Lemine

Mechanical
Apr 15, 2020
45
Hello, Engineer and Mathematician programmer,

I have computed a cost function J(x1,..xn) and her gradient J'(x1,..xn) defined over a volume using finite element analysis.
so I have the value of these fields J and J' at n nodes (x1,..xn) in the geometry (integration point) and I have saved the data in a text file.
My problem is how to minimize this function using for example BFGS algorithm?

Thanks for your help
 
Replies continue below

Recommended for you

I typed BFGS example into my favorite search engine/data raper and got many hits. Matlab uses BFGS in fmincon, sometimes.

Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
Well, a cost function is something we want to minimize. For example, our cost function might be the sum of squared errors over the training set. Gradient descent is a method for finding the minimum of a function of multiple variables. So we can use gradient descent as a tool to minimize our cost function.
 
3DDave, I suspect its a bot poster or similar, since posts are starting to come up with a link in the signature.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor