Prints a summary of the Marine Predators Algorithm optimization results.

# S3 method for class 'mpa_result'
print(x, ...)

Arguments

x

An object of class mpa_result returned by [mpa()].

...

Additional arguments (currently unused).

Value

Invisibly returns the input object x.

Examples

result <- mpa(SearchAgents_no = 10, Max_iter = 20, lb = -10, ub = 10,
              dim = 5, fobj = F01)
print(result)
#> Marine Predators Algorithm Results:
#> -----------------------------------
#> Best fitness: 0.8261168298
#> Best position: 0.1425498077 -0.6035403209 0.3851938964 -0.3099302911 -0.4439643455
#> Convergence curve length: 20