These results are combined to scalar values using the so-called 'design responses.' Initially,
one or several responses for the objective function must be defined using the command
DRESP. These responses are then added to the objective, as seen in the
following figure:
Weight and reference values can be applied in the combination using
the command OBJ_FUNC.
OBJ_FUNC
ID_NAME = ...
DRESP = id_name_1, WEIGHT, REFERENCE
DRESP = id_name_2, WEIGHT, REFERENCE
DRESP = id_name_3, WEIGHT, REFERENCE
DRESP = id_name_4, WEIGHT, REFERENCE
...
TARGET = MIN | MAX | MINMAX | MAXMIN
END_
- The
ID_NAME of the OBJ_FUNC
must be referenced in the OPTIMIZE
command to activate the objective function. - The
WEIGHT and REFERENCE values
are optional.
- The default weighting factor is
and the default reference value is
.
- The user does not need to define
WEIGHT
and REFERENCE for the most common optimization formulations.
The default values of WEIGHT=1.0 and REFERENCE=0.0
are good settings for most common cases.
- The command
TARGET can be set to MIN, MAX,
MINMAX, or MAXMIN, indicating if the objective function
is minimized or maximized or if a min-max or a max-min formulation is used.
- The design responses
listed in
OPTIMZE are summed up taking into account
the individual weighting and reference values
if TARGET is set to MIN or MAX. - A min-max / max-min formulation is applied if
TARGET is set
to MINMAX / MAXMIN. Then the design responses
are dealt with individually in a multidisciplinary optimization taking
into account the individual weighting and reference values.
In the log file TOSCA.OUT the object function value can
be monitored:

In the above example, the total objective function is
,
the DRESPs have values
and
.
Also the above example shows the weight and reference value of each
term. These values can also be found in two extra log-files, optimization_report.csv
and optimization_status_all.csv. The first file only
lists DRESPs that are included in the optimization task
as objective function or constraint. The latter lists all DRESPs
defined in the parameter file.
Example
The following figure shows the optimization_report.csv imported into a spread
sheet:
- In the above example, first the total objective function
is listed for each iteration
as MINIMIZE_MAX_MISES. The objective function is always
the first column.
- Then each
DRESP in the
and
are listed as OBJ_FUNC_DRESP:DRESP_MAX_MISES1 and OBJ_FUNC_DRESP:
DRESP_MAX_MISES2. - After each
DRESP the terms
are listed: OBJ_FUNC_TERM:DRESP_MAX_MISES1 and OBJ_FUNC_TERM:
DRESP_MAX_MISES2.
The terms include weight and reference value
and are given as:
If constraints are defined in the optimization task, these are also included in
optimization_report.csv and
optimization_status_all.csv.