> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PyNOA

## *class* PyNOA.AdaptionMethods

**Enumeration**

#### Arithmetic *= PyNOA.AdaptionMethods.Arithmetic*

#### Copy *= PyNOA.AdaptionMethods.Copy*

#### Multipoint *= PyNOA.AdaptionMethods.Multipoint*

#### PSO *= PyNOA.AdaptionMethods.PSO*

#### SBX *= PyNOA.AdaptionMethods.SBX*

#### Singlepoint *= PyNOA.AdaptionMethods.Singlepoint*

#### Uniform *= PyNOA.AdaptionMethods.Uniform*

## *class* PyNOA.Design

#### \_\_init\_\_()

#### get\_actual\_number() → int

#### get\_objective() → [doubleVec](https://developer.synopsys.com/docs/optislang/optislang-python-api/2025-r2/modules/stdcpp_python_export.md#stdcpp_python_export.doubleVec)

#### get\_parameters() → [doubleVec](https://developer.synopsys.com/docs/optislang/optislang-python-api/2025-r2/modules/stdcpp_python_export.md#stdcpp_python_export.doubleVec)

## *class* PyNOA.MutationMethods

**Enumeration**

#### ConstraintAdaptive *= PyNOA.MutationMethods.ConstraintAdaptive*

#### ModulatedAdaptive *= PyNOA.MutationMethods.ModulatedAdaptive*

#### NormalDistribution *= PyNOA.MutationMethods.NormalDistribution*

#### SelfAdaptive *= PyNOA.MutationMethods.SelfAdaptive*

## *class* PyNOA.NOA

#### \_\_init\_\_()

#### \_\_init\_\_(arg2: [PyOptimizerBase.SettingsBase](https://developer.synopsys.com/docs/optislang/optislang-python-api/2025-r2/modules/PyOptimizerBase.md#PyOptimizerBase.SettingsBase))

## *class* PyNOA.NOASettings

#### \_\_init\_\_()

#### append\_adaption\_method(arg2: [AdaptionMethods](#PyNOA.AdaptionMethods))

Append a new adaption method. Use set\_adaption\_method to reset.

#### change\_default\_settings(population: int size, max: int. generations, lower: doubleVec bounds, upper: doubleVec bounds)

#### get\_adaption\_methods() → list

Get a list of all set adaption methods.

#### get\_arch\_size() → int

Get maximum archive size.

#### get\_cliff\_value() → float

Get cliff for penalty term.

#### get\_contraint\_scaling\_factor() → float

Get scaling factor for constraints.

#### get\_crossover\_probabilities() → list

Get a list of all crossover probabilities.

#### get\_distribution\_parameters() → list

Get a list of all distribution parameters.

#### get\_fitness\_scaling() → bool

Get use automatic fitness scaling.

#### get\_hybrid() → bool

Get use hybrid adaption.

#### get\_max\_archive\_size() → int

Return maximum archive size.

#### get\_max\_gen() → int

Get maximum number of generations.

#### get\_min\_gen() → int

Get minimum number of generations.

#### get\_mut\_gnr() → float

Get number of mutating generations.

#### get\_mut\_rate() → float

Get probability of mutation.

#### get\_mutate() → bool

Get whether to mutate or not.

#### get\_mutation\_method() → [MutationMethods](#PyNOA.MutationMethods)

Get mutation method.

#### get\_mutation\_std\_dev() → tuple

Get mutation standard deviation values.

#### get\_number\_of\_parents() → int

#### get\_numbers\_of\_crosspoints() → list

Get a list of all numbers of crosspoints.

#### get\_penalty\_method() → [PenaltyMethods](#PyNOA.PenaltyMethods)

Get penalty method to evaluate constraint violations.

#### get\_ranking\_method() → [RankingMethods](#PyNOA.RankingMethods)

Get ranking method.

#### get\_seed() → int

#### get\_selection\_method() → [SelectionMethods](#PyNOA.SelectionMethods)

Get selection method.

#### get\_selection\_pressure() → float

Get value for selection pressure.

#### get\_stagnation\_generations() → int

Get convergence parameter.

#### get\_stagnation\_limit() → float

Get convergence parameter.

#### get\_start\_pop\_size() → int

#### get\_tournament\_size() → int

Get number of designs to compare in tournament.

#### *property* parameter\_free

Whether to use parameter free constraint handling in penalty method.

#### *property* roulette\_with\_replacement

Roulette selection applied with replacement.

#### set\_adaption\_method(arg2: [AdaptionMethods](#PyNOA.AdaptionMethods))

Reset adaption methods and set first adaption method.

#### set\_arch\_size(arg2: int)

Set maximum archive size.

#### set\_bounds(lower: doubleVec bounds, upper: doubleVec bounds)

Set limiting bound for each dimension.

#### set\_cliff\_value(arg2: float)

Set cliff for penalty term.

#### set\_contraint\_scaling\_factor(arg2: float)

Set scaling factor for constraints.

#### set\_crossover\_probability(arg2: float)

Set crossover rate.

#### set\_default(adaption: AdaptionMethods method, local: bool search)

Apply default settings.

#### set\_distribution\_parameter(arg2: float)

Set distribution parameter for SBX.

#### set\_ea\_balanced()

Set defaults for EA - balanced.

#### set\_ea\_global()

Set defaults for EA - global.

#### set\_ea\_local()

Set defaults for EA - local.

#### set\_fitness\_scaling(arg2: bool)

Set use automatic fitness scaling.

#### set\_hybrid(arg2: bool)

Set use hybrid adaption.

#### set\_max\_gen(arg2: int)

Set maximum number of generations.

#### set\_min\_gen(arg2: int)

Set minimum number of generations.

#### set\_mut\_gnr(arg2: float)

Set number of mutating generations.

#### set\_mut\_rate(arg2: float)

Set probability of mutation.

#### set\_mutate(arg2: bool)

Set whether to mutate or not.

#### set\_mutation\_method(arg2: [MutationMethods](#PyNOA.MutationMethods))

Set mutation method.

#### set\_mutation\_std\_dev(lower: float bound continuous parameter, upper: float bound continuous parameter, lower: float bound discrete parameter, upper: float bound discrete parameter)

Set mutation standard deviation.

#### set\_number\_of\_crosspoints(arg2: int)

Set number of crosspoints.

#### set\_number\_of\_parents(Set: int number of parents.)

#### set\_penalty\_method(arg2: [PenaltyMethods](#PyNOA.PenaltyMethods))

Set penalty method to evaluate constraint violations.

#### set\_pso\_coefficients(intertia: float weight at first generation, intertia: float weight at last generation, personal: float acceleration coefficient at first generation, personal: float acceleration coefficient at last generation, global: float acceleration coefficient at first generation, global: float acceleration coefficient at last generation)

Set parameters relevant to PSO.

#### set\_pso\_global()

Set defaults for PSO - global.

#### set\_pso\_local()

Set defaults for PSO - local.

#### set\_ranking\_method(arg2: [RankingMethods](#PyNOA.RankingMethods))

Set ranking method.

#### set\_seed(arg2: int)

#### set\_selection\_method(arg2: [SelectionMethods](#PyNOA.SelectionMethods))

Set selection method.

#### set\_selection\_pressure(arg2: float)

Set value for selection pressure.

#### set\_stagnation\_generations(arg2: int)

Set convergence parameter.

#### set\_stagnation\_limit(arg2: float)

Set convergence parameter.

#### set\_start\_pop\_size(Set: int start population size.)

#### set\_tournament\_size(arg2: int)

Set number of designs to compare in tournament.

## *class* PyNOA.PenaltyMethods

**Enumeration**

#### DISTANCE *= PyNOA.PenaltyMethods.DISTANCE*

#### HYBRID *= PyNOA.PenaltyMethods.HYBRID*

#### NUM\_VIOLATIONS *= PyNOA.PenaltyMethods.NUM\_VIOLATIONS*

## *class* PyNOA.RankingMethods

**Enumeration**

#### CrowdingDensity *= PyNOA.RankingMethods.CrowdingDensity*

#### CumulatedDensity *= PyNOA.RankingMethods.CumulatedDensity*

#### Exponential *= PyNOA.RankingMethods.Exponential*

#### Linear *= PyNOA.RankingMethods.Linear*

#### Pareto *= PyNOA.RankingMethods.Pareto*

## *class* PyNOA.SelectionMethods

**Enumeration**

#### ArchiveBest *= PyNOA.SelectionMethods.ArchiveBest*

#### PopulationBest *= PyNOA.SelectionMethods.PopulationBest*

#### Roulette *= PyNOA.SelectionMethods.Roulette*

#### Stochastic *= PyNOA.SelectionMethods.Stochastic*

#### Tournament *= PyNOA.SelectionMethods.Tournament*
