Naruki-Ichihara / fenics_optimize

optfx is a module of the FEniCS computing platform for multiphysics optimization problems.
https://naruki-ichihara.github.io/fenics_optimize/
MIT License
6 stars 2 forks source link

Element-wise constraint #9

Open mishkat1096 opened 1 year ago

mishkat1096 commented 1 year ago

Hi Thanks for the great tool. I am trying to do a Discrete material optimization (DMO). I am not sure how to apply the element-wise constraints. For example, I have several variables. But at each element, the sum should be 1.

Thanks

Naruki-Ichihara commented 1 year ago

Thank you. I'm sorry but the point-wise or layer-wise constraints are not supported. These constraints may result in difficulties in convergence in optimization. DMO requires the sum of the weighting vector equal to one. Do you have any idea to reduce the point-wise constraints into single global constraint function? For example, Bin Niu’s article uses DMO parameterization (see, Section 3). This formulation looks like the single parameterization and may be able to coding with optfx and fenics.

mishkat1096 commented 1 year ago

Thanks for a quick reply. I will look at the article.

Naruki-Ichihara commented 1 year ago

I will implement the function for general global constraint to reduce the point-wise constraint into single constraint.

Naruki-Ichihara commented 1 year ago

Mistake. I open this issue again.