updown: Propose solution: up and down

Description Usage Arguments Value

View source: R/new.R

Description

Proposes an affordable new (or the same) solution with a single up move and a single down move

Usage

1
2
3
4
5
6
7
8
9
updown(
  current_solution,
  max_solution,
  min_solution,
  cost,
  budget_block,
  budget,
  free
)

Arguments

current_solution

Current solution

max_solution

Max solution index

min_solution

Min solution index

cost

Solution cost

budget_block

Budget blocks

budget

Budget

free

Free funds

Value

A solution


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