check.betatgt.lp | R Documentation |
check.betatgt
This function solves the linear program that is used to find
the logical bounds in the check.betatgt
function.
check.betatgt.lp(data, lpmodel, modelsense, solver)
data |
An |
lpmodel |
An |
modelsense |
A string that indicates whether the program is a maximization or minimization problem. If it is "max", then it is referring to a maximization problem. Otherwise, it is referring to a minimization problem. |
solver |
A linear or quadratic programming solver. The exact solver that is supported depends on the test chosen. |
The linear program used to find the logical lower bound is
\min_{x \in \mathbf{R}^d} \,\,
A_{\rm tgt} x
\quad \mathrm{s.t.} \quad
A_{\rm shp} x = \beta_{\rm shp}
\quad \mathrm{ and } \quad
x \geq 0.
The linear program used to find the logical upper bound replaces the min operator by the max operator.
Returns the solution to the linear program.
objval |
The optimal value of the linear program. It is either the logical upper bound or the logical lower bound. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.