search_frozen_geodesic: A pseudo-derivative, line search algorithm along frozen...

View source: R/search-frozen-geodesic.r

search_frozen_geodesicR Documentation

A pseudo-derivative, line search algorithm along frozen geodesics.

Description

A pseudo-derivative, line search algorithm along frozen geodesics.

Usage

search_frozen_geodesic(
  current,
  index,
  tries,
  max.tries = 5,
  n = 5,
  frozen,
  cur_index = NA,
  ...
)

Arguments

current

starting projection

index

index function

tries

the counter of the outer loop of the opotimiser

max.tries

maximum number of iteration before giving up

n

number of random steps to take to find best direction

frozen

a matrix of frozen variables

cur_index

the index value of the current basis

...

other arguments being passed into the search_frozen_geodesic() These three functions perform a corresponding role to search_geodesic, find_best_dir and find_path_peak but for the frozen tour. They work by zero'ing out the frozen variables and travelling in that restricted subspace.

To do

eliminate these functions


tourr documentation built on Aug. 25, 2023, 1:08 a.m.