Function PGASetNumConstraint

Function Documentation

void PGASetNumConstraint(PGAContext *ctx, int n)

Initialize the number of constraints.

Description

The maximum number of constraints (and the default) is the number of Auxiliary evaluations, see PGASetNumAuxEval().

Example

PGAContext *ctx;

...
PGASetNumConstraint (ctx, 5);

Parameters
  • ctx – context variable

  • n – Number of constraints

Returns

None