View source: R/CostOptimization.R
runWithBudget | R Documentation |
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 |
Call this function to test out the response of different budgets
Vector with initial and end means and variances
bsd <- runWithBudget(percentages, bsd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.