check_stopping_rules {RCTS}R Documentation

Checks the rules for stopping the algorithm, based on its convergence speed.

Description

Checks the rules for stopping the algorithm, based on its convergence speed.

Usage

check_stopping_rules(
  iteration,
  speed,
  all_OF_values,
  speedlimit = 0.01,
  verbose = FALSE
)

Arguments

iteration

number of iteration

speed

convergence speed

all_OF_values

vector containing the values of the objective function from previous iterations

speedlimit

if the convergence speed falls under this limit the algorithm stops

verbose

if TRUE, more information is printed

Value

logical

Examples

check_stopping_rules(4, 1.7, 5:1)

[Package RCTS version 0.2.4 Index]