geomean.grad: Calculate geomean objective gradient

View source: R/GSOFunc_geomean-grad.R

geomean.gradR Documentation

Calculate geomean objective gradient

Description

Calculate geomean objective gradient

Usage

geomean.grad(x, spp)

Arguments

x

a list/column, e.g. run$solution,

spp

a data.frame, usually data or option data.frame

Details

Internal GSO function. Used within gso(), an input for nloptr() calculates the sum of the partial derivatives, with respect to each variable

The reformulated objective; nloptr expects a minimization problem. The geomean objective, constraints (and corresponding gradients) all take the same set of extra arguments.

Value

returns a single value (the sum of the partial derivatives)


nevilamos/FAMEFMR documentation built on April 17, 2025, 9:32 p.m.