sa: Simmulated Annealing

Description Usage Arguments Value

View source: R/sa.R

Description

SA algorithm

Usage

1
2
3
4
5
6
7
8
9
sa(
  input_data,
  input_budget,
  outer,
  inner,
  proportion_greedy = 0.8,
  frozen = 5000,
  free = 0
)

Arguments

input_data

Data: must contain budget_block, solution_block cost and y columns

input_budget

Data: must contain budget_block and budget column

outer

Outer (temperature step) iterations

inner

Inner interations

proportion_greedy

Set temperature decay

frozen

Number of attempts with no improvement in final frozen search

free

Free funds

Value

A list with the solution index and trace


pwinskill/coop documentation built on Oct. 11, 2020, 11:29 a.m.