Learn R Programming

optimbase (version 1.0-10)

Bound and constraint checks: Point Estimate Comparison with Bounds and Constraints

Description

optimbase.isinbounds checks that given parameter estimates are within the defined minimum and maximum boundaries, while optimbase.isinnonlincons checks that the given point estimate satisfies the defined nonlinear constraints.

Usage

optimbase.isinbounds(this = NULL, x = NULL)
  optimbase.isinnonlincons(this=NULL,x=NULL)

Arguments

this

An optimization object.

x

A column vector of parameter estimates.

Value

Both functions return a list with the following elements:

this

The optimization object.

isfeasible

TRUE if the parameter estimates satisfy the constraints, FALSE otherwise.