calculate_objective_pso {ubiquity}R Documentation

pso Wrapper for calculate_objective

Description

The psoptim objective function assumes parameters will be a vector and this function converts it to a named list to be consistent with the ubiquity optmization routines.

Usage

calculate_objective_pso(pvect, cfg)

Arguments

pvect

system parameters

cfg

ubiquity system object

Value

objective function value


[Package ubiquity version 2.0.3 Index]