# Configuration

The Configuration section contains a list of settings which can be used to tweak the algorithm's default behaviour.

## Termination

This provides the user a way to control the runtime of the optimization algorithm and when to terminate.

### Max time

The maxTime parameter specifies the maximum time, in seconds, the algorithm is allowed to run for solving the problem. If the algorithm cannot find any solution withing the given maxTime, then it continues running till finding the first solution.

### Stagnation time

The user can use the parameter stagnationTime, in seconds, to stop the optimization algorithm if it cannot find an improved solution over a period of stagnationTime.