sa_func_parallel_output_func Interface

interface
public subroutine sa_func_parallel_output_func(me, x, f, istat)

Arguments

Type IntentOptional Attributes Name
class(simulated_annealing_type), intent(inout) :: me
real(kind=wp), intent(out), dimension(:) :: x
real(kind=wp), intent(out) :: f
integer, intent(out) :: istat

status flag:

  • 0 : valid function evaluation
  • -1 : invalid function evaluation. try a different input vector.
  • -2 : stop the optimization process

Description

interface for parallel function evaluations. This function receives the output points from the parallel evaluation. Returns both the x and f values for a completed evaluation (typically from a queue).