newTemp: Computes algorithm "temperature" based on initial...

View source: R/MPsearchfunctions.R

newTempR Documentation

Computes algorithm "temperature" based on initial temperature, max number of iterations, current iteration, and last temperature

Description

Computes algorithm "temperature" based on initial temperature, max number of iterations, current iteration, and last temperature

Usage

newTemp(
  inittemp,
  itermax,
  i,
  lasttemp = 1e-05,
  type = c("straight", "straight2", "logarithmic")
)

Arguments

inittemp

Initial temperature.

itermax

Maximum number of iterations.

i

Current iteration

lasttemp

Last temperature (i.e., when i == itermax )

type

Type of temperature schedule


falkcarl/mpirt documentation built on July 11, 2024, 12:09 a.m.