% Generated by roxygen2: do not edit by hand % Please edit documentation in R/NICER.R name{witness} alias{witness} title{Find (if possible) an interior point of a polytope by solving a linear program} usage{ witness(A, b, s, epsbound = 1, epstol = 1e-07, presolve = 1, verb = 0) } description{ Solves the LP: max over {w,eps} {eps | SAw - eps >= Sb, 0 < eps <= epsbound} } details{ where S is diag(s). If at the solution eps > 0, then w is a valid interior point

otherwise the LP fails to find an interior point, and another s must be tried.

@param A is a n by m matrix of hyperplane slope coefficients

@param  b is an n vector of hyperplane intercept coefficients
@param  s is an n vector of signs 
@param  epsbound is a scalar tolerance controlling how close the witness point

can be to an edge of the polytope

@param  epstol is a scalar tolerance for the LP convergence
@param  presolve controls whether Mosek should presolve the LP
@param  verb controls verbosity of Mosek solution

@return List with components:

\itemize{

item w proposed interior point at solution item fail indicator of whether w is a valid interior point

}
@importFrom Matrix Rmasek
@export

}