Skip to content

Commit

Permalink
fix: opimizer batch on_optimzation_end callback
Browse files Browse the repository at this point in the history
  • Loading branch information
sumny committed Aug 12, 2024
1 parent 2564535 commit 1e4f34e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/OptimizerBatch.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ optimize_batch_default = function(instance, optimizer) {
lg$info("Result:")
lg$info(capture.output(print(
instance$result, lass = FALSE, row.names = FALSE, print.keys = FALSE)))
call_back("on_optimization_end", instance$objective$callbacks, instance$objective$context)
return(instance$result)
}

0 comments on commit 1e4f34e

Please sign in to comment.