eval_cs: Inequality contraints replacement

View source: R/GSOFunc_eval_cs.R

eval_csR Documentation

Inequality contraints replacement

Description

Inequality contraints replacement

Usage

eval_cs(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() Replaces the proportion equality constraint with <=

Since the objective is monotone, we can replace the proportion equality constraint with <=. Per-species limits should be do-able in the same form.

Value

returns a vector


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