Run one replication of the scheme with specified budget percentages These percentages have to be valid in terms of following rules NOTE: the statements between startValues <- ... and endValues <- define the breeding scheme that is being optimized

runWithBudget(percentages, bsd, returnBSD = F)

Arguments

percentages

Double vector 1 + nStages with budget percentages for the population improvement cycle and the variety development pipeline

bsd

List of breeding scheme data

returnBSD

Logical if you want to return bsd because this is a one-off rather than being called repeatedly for optimization

Value

Vector with initial and end means and variances

Details

Call this function to test out the response of different budgets

Examples

bsd <- runWithBudget(percentages, bsd)
#> Error in runWithBudget(percentages, bsd): object 'bsd' not found