---
name: "PGASetRestartFrequencyValue"
section: "3"
platform: "linux"
package: "pgapack"
version: "1.1.1-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/PGASetRestartFrequencyValue"
---

# PGASetRestartFrequencyValue(3)

specifies the number of iterations of no change in the best string after which the algorithm should restart

## NAME

PGASetRestartFrequencyValue - specifies the number of iterations of no change in the best string after which the algorithm should restart

## INPUT PARAMETERS

- ctx

  \- context variable

- numiter

  \- number of changeless iterations

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
void  PGASetRestartFrequencyValue(ctx, numiter)
PGAContext *ctx
int numiter
```

## LOCATION

restart.c

## EXAMPLE

```
Example:
PGAContext *ctx;
:
PGASetRestartFrequencyValue(ctx, 100);
```
