geomean.obj: Calculate reformulated geomean objective

geomean.objR Documentation

Calculate reformulated geomean objective

Description

Calculate reformulated geomean objective

Usage

geomean.obj(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 reformulated objective'

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 summed log of each row * x)


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