up: Propose solution: up

Description Usage Arguments Value

View source: R/new.R

Description

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

Usage

1
up(current_solution, max_solution, cost, budget_block, budget, free)

Arguments

current_solution

Current solution

max_solution

Max 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.