affordable: Afford

Description Usage Arguments Value

View source: R/afford.R

Description

Check a solution is affordable

Usage

1
affordable(solution, cost, budget_block, budget, free)

Arguments

solution

Proposed solution (vector of indices)

cost

Solution costs

budget_block

index of budget blocks

budget

Budget

free

Free funds

Value

Boolean indicating if proposed solution is affordable or not


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