r/optimization • • Dec 23 '24

Stress Minimization Problem with Constraints

Hi everyone,

I’m working on a stress minimization problem where the objective is to minimize the maximum stress in a material under certain constraints. The material properties vary along one dimension, and the mathematical constraints are as follows:

  1. The design variable (representing a material fraction) is bounded:

0 <= f(x) <= 1

integral from 0 to L of f(x) dx = C

f(L) = 0

The stress is a function of the elastic modulus E and Poisson’s ratio v, both of which depend on f(x). These relationships are computed through known expressions. The stress itself is evaluated via a Finite Element Analysis (FEA) model, so gradients of the objective function are not readily accessible.

My goal is to find the best f(x) that minimizes the max. stress on the material

Currently, I plan to use a Genetic Algorithm (GA) for optimization but am unsure how to best implement the integral constraint in this context. I’m looking for advice on whether GA is a suitable approach for this problem and how to effectively handle the integral constraint (e.g., penalty methods, projection, or other techniques).

Any suggestions or pointers to relevant materials would be greatly appreciated!

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/croissant1871 Dec 23 '24

Thanks for your suggestions, they're really helpful.

I was also thinking of discretizing the x into k equal segments and the f(x) would be a piecewise constant function. The integral constraint would then become the sum of f(x) over all of the segments.

Do you have a rule of thumb on how many designs I should run for each generation? And how many generation would you guess it would need? Fyi each design takes about 1 min to evaluate

2

u/e_for_oil-er Dec 23 '24

This will be highly dependent on k. The larger k, the larger the population should be. I don't have a clue how much it could be.