Function PGAGetNumConstraint

Function Documentation

int PGAGetNumConstraint(PGAContext *ctx)

Get the number of constraints.

Example

PGAContext *ctx;
int num;

...
num = PGAGetNumConstraint (ctx);

Parameters
  • ctx – context variable

Returns

Number of constraints