Function PGASetEpsilonGeneration

Function Documentation

void PGASetEpsilonGeneration(PGAContext *ctx, int gen)

Configure the generation until which constraints are relaxed via the Epsilon Contraint method.

Description

The default is 0 (no Epsilon Contraint method is used). The parameter gen must be below the value set with PGASetMaxGAIterValue().

Example

PGAContext *ctx;

...
PGASetEpsilonGeneration (ctx, 50);

Parameters
  • ctx – context variable

  • gen – Epsilon contraint generation

Returns

None