CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2 > SU2 Shape Design

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

Register Blogs Members List Search Today's Posts Mark Forums Read

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 ?
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
% Optimization constraint functions with scaling factors, separated by semicolons
% ex= (Objective = Value ) * Scale, use '>','<','='
mechy is offline   Reply With Quote

Old   May 15, 2014, 16:16
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.

copeland is offline   Reply With Quote

Old   January 27, 2015, 08:37
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:

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?


Zen is offline   Reply With Quote

Old   July 3, 2017, 09:47
New Member
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
New Member
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.


Floris van der Schuur
WillemFloris is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:41.