Documentation/Modules/BoundHandler: Unterschied zwischen den Versionen

Aus OpenDino
Wechseln zu: Navigation, Suche
(Properties)
(Module Description)
Zeile 63: Zeile 63:
 
==Module Description==  
 
==Module Description==  
  
Any optimization algorithm proposes a new solution '''x'''. Some of the values of '''x''' might be outside the lower bounds x<sub>l</sub> and upper bounds x<sub>u</sub>, specified in the "Problem" module. These variables are corrected to values within the bounds by two different methods:
+
The optimization algorithm proposes one or several new solutions '''x'''. Some values of '''x''' might be outside the lower bounds x<sub>l</sub> and upper bounds x<sub>u</sub>, specified in the "Problem" module. These variables are corrected to values within the bounds by thress different methods:
 +
 
 +
0. no bound handling
 +
 
 +
This option turns off the bound handling.
  
 
1. set to bounds
 
1. set to bounds
Zeile 78: Zeile 82:
 
minus infinity, it is set to the upper bound.
 
minus infinity, it is set to the upper bound.
  
     if x < x<sub>l</sub>, then x = x<sub>u</sub> + (x<sub>l</sub>- x<sub>u</sub>) / (x - x<sub>u</sub>) * (x<sub>l</sub>- x<sub>u</sub>);
+
     if x < x<sub>l</sub>, then x = x<sub>u</sub> + (x<sub>l</sub>- x<sub>u</sub>)^2 / (x - x<sub>u</sub>)
  
     else if x > x<sub>u</sub>, then x = x<sub>l</sub> + (x<sub>u</sub>- x<sub>l</sub>) / (x - x<sub>l</sub>) * (x<sub>u</sub>- x<sub>l</sub>)
+
     else if x > x<sub>u</sub>, then x = x<sub>l</sub> + (x<sub>u</sub>- x<sub>l</sub>)^2 / (x - x<sub>l</sub>)
  
 
==Usage==
 
==Usage==

Version vom 25. Oktober 2015, 12:25 Uhr

Summary

Some optimizations require bounds on the design variables xxx. E.g. for the diameter of any mechanical support must be above a certain minimum value.

As not all optimization algorithms include bound handling, the module BoundHandler was created.

Properties

General

Algorithm deterministic
Design Variables continuous variables, discrete or mixed variables are possible.
Objectives any number
Constraints any number
Boundaries Design variables values outside the boundaries are corrected
Initial Search Region not affected
Typical X not affected
Initialization not required

Connections

Starting at his module One connection of type optimization
Ending at this module One connection of type optimization

Actions

Name Description
- -

Options

The options are currently described as "pop-up help".

Module Description

The optimization algorithm proposes one or several new solutions x. Some values of x might be outside the lower bounds xl and upper bounds xu, specified in the "Problem" module. These variables are corrected to values within the bounds by thress different methods:

0. no bound handling

This option turns off the bound handling.

1. set to bounds

If one of the variables x is below or above the bounds, it is set to the bound value, i.e.

   if x < xl, then x = xl
   else if x > xu, then x = xu

2. reflect

If one of the variables x is below or above the bounds, it is reflected from the bound. The reflection is done such that if x goes to infinity, x is equal to the lower bound and if x goes to minus infinity, it is set to the upper bound.

   if x < xl, then x = xu + (xl- xu)^2 / (x - xu)
   else if x > xu, then x = xl + (xu- xl)^2 / (x - xl)

Usage

-

Source Code

ToDo:Link to SVN

References

-