Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

how to change/display the value of a variable inside the optimization loop

Please login with a confirmed email address before reporting spam

Hi all,

Is it possible to change a value inside the optimization loop in COMSOL? I mean, suppose my objective function includes a weight variable, that I need to update every X iterations in order to adjust the convergence of the solution.

A similar question is the following: can I display the value of a variable for every iteration of the optimization loop?

Thanks a lot,

0 Replies Last Post 2010年8月2日 GMT-4 15:29
COMSOL Moderator

Hello Andre Teves

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.