CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Shape Design

what are the scaling factors of Optimization objective and constraint functions ?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 1, 2014, 09:51
Default what are the scaling factors of Optimization objective and constraint functions ?
  #1
Senior Member
 
Join Date: Jun 2011
Posts: 163
Rep Power: 14
mechy is on a distinguished road
Hi all
please let me know why the objective and constraint functions are multiplied by the 0.001 ?

Best Regards

% Optimization objective function with scaling factor
% ex= Objective * Scale
OPT_OBJECTIVE= DRAG * 0.001
%
% Optimization constraint functions with scaling factors, separated by semicolons
% ex= (Objective = Value ) * Scale, use '>','<','='
OPT_CONSTRAINT= ( MAX_THICKNESS > 0.04 ) * 0.001
%
mechy is offline   Reply With Quote

Old   May 15, 2014, 16:16
Default
  #2
Member
 
Sean R. Copeland
Join Date: Jan 2013
Posts: 40
Rep Power: 13
copeland is on a distinguished road
Hello mechy,

For the optimal design problems, SU2 uses the scipy optimization libraries. There is an initial step that the optimizer takes to perturb the design in its search for the local optimum. We generally scale the objective function to control the size of this initial step to ensure it is not too large. For different objective functions, the value of this scaling factor needs to be adjusted -- in general there's no set of guidelines to select the value, it just takes a little experimentation.



-Sean
copeland is offline   Reply With Quote

Old   January 27, 2015, 08:37
Default
  #3
Zen
Member
 
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 12
Zen is on a distinguished road
Dear Sean,

it happened to me that if I set the scaling factor to a small number ( e.g. OPT_OBJECTIVE=DRAG*0.001) and I start an optimization with already a solution_flow.dat and a solution_adj_cd.dat, the optimization stops at the end of DSN_001 with the following message:

done
./DESIGNS/DSN_001
./DESIGNS/DSN_001
Optimization terminated successfully. (Exit mode 0)
Current function value: 0.0003926472324
Iterations: 1
Function evaluations: 1
Gradient evaluations: 1

Where the current function value corresponds exactly to the value of the objective function at the end of the direct simulation multiplied by the scaling factor 0.001. Whereas if the scale is increase to 0.1, or 0.01, the optimization works but it produces negative volume cells at later stages (around DSN_006) and the FGMRES solver diverges.

Any hint here?

Thanks,

Z
Zen is offline   Reply With Quote

Old   July 3, 2017, 09:47
Default
  #4
New Member
 
Bingfei
Join Date: Nov 2015
Posts: 25
Rep Power: 10
lbfhappy is on a distinguished road
I met the same problem these days when optimizing a model made by myself. How did you solve this problem?

Does anyone know about this problem?

Thank you.
lbfhappy is offline   Reply With Quote

Old   September 22, 2017, 03:23
Default
  #5
New Member
 
Floris
Join Date: Sep 2016
Location: Enschede, The Netherlands
Posts: 21
Rep Power: 9
WillemFloris is on a distinguished road
Hi Bingfei,

One way to circumvent this problem is to adjust "OPT_ACCURACY". The scaling of the objective function is scaling the termination criteria as well.
I hope this helps will solve your problem.

Cheers,

Floris van der Schuur
WillemFloris is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:19.