check.betatgt: Check function: check if 'beta.tgt' is within the logical...

View source: R/checks.R

check.betatgtR Documentation

Check function: check if beta.tgt is within the logical bound

Description

This function checks whether the parameter beta.tgt is within the logical bounds. If it is not within the logical bound, then reject immediately.

Usage

check.betatgt(data, lpmodel, beta.tgt, solver)

Arguments

data

An data frame or a matrix.

lpmodel

An lpmodel object.

beta.tgt

The value to be tested.

solver

A linear or quadratic programming solver. The exact solver that is supported depends on the test chosen.

Value

Returns the following objects:

inout

The variable that equals 1 if it is within the logical bound. This equals 0 otherwise.

lb

The logical lower bound.

ub

The logical upper bound.


conroylau/lpinfer documentation built on Sept. 5, 2024, 9 p.m.