Utility function for optimizeByLOESS Sample a budget according to allowable ranges for the different stages and run a rep of the breeding scheme with that budget

runOneRep(
  replication,
  percentRanges,
  initializeFunc,
  productPipeline,
  populationImprovement,
  targetBudget,
  bsp,
  seed = NULL
)

Arguments

replication

Integer replication

percentRanges

Real matrix with F1 + nStages allowable budget ranges

initializeFunc

Function for runBreedingScheme

productPipeline

Function for runBreedingScheme

populationImprovement

Function for runBreedingScheme

targetBudget

Real how much to spend total. See CostControlFile

bsp

List breeding scheme parameters

seed=NULL

Integer seed to initialize pseudo-random number generator

Details

Allows sampling the budget and running the simulation in one function