runWithBudget.Rd
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)
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 |
Vector with initial and end means and variances
Call this function to test out the response of different budgets
bsd <- runWithBudget(percentages, bsd)#> Error in runWithBudget(percentages, bsd): object 'bsd' not found