Ensure that the objective function's reset function is called at least once. This will enable the objective function to initialize itself during run-time.