gen.neighbors.tabu {SEMsens}R Documentation

A Function that Generates a List of Neighbors in Tabu Search

Description

This function generates a list of neighbors for tabu search that can be used in tabu search for sensitivity analysis.

Usage

gen.neighbors.tabu(
  current.param,
  maximum,
  neigh.size,
  tabu.list,
  max.len,
  range,
  r,
  f,
  max.attempts = 10
)

Arguments

current.param

The center of the hypercubes.

maximum

Logical. Maximize the objective function if TRUE, minimize the objective function if FALSE.

neigh.size

Number of neighbors to search for in each iteration.

tabu.list

The list of tabu.

max.len

The length of the largest hypercube.

range

The range for the parameter space in the tabu search.

r

Radius of a tabu ball.

f

The objective function to be optimized.

max.attempts

The maximum number of attempts to find a neighbor that is not near the points in the tabu list, default is 10.

Value

A list of information about the best neighbor, including best parameters, objective function values, and the model.


[Package SEMsens version 1.5.5 Index]