localize_mip_rec: Localize errors by using lpSolveApi
Description
localize_mip_rec
uses E
and x
to
define a mixed integer problem and solves this problem
using lpSolveApi
. This function can be much faster
then errorLocalizer
but does not return the
degeneracy of a solution. However it does return an
bonus: x_feasible
, a feasible solutionUsage
localize_mip_rec(E, x, weight = rep(1, length(x)),
maxduration = 600, verbose = "neutral", ...)
Arguments
weight
numeric with weights
maxduration
number of seconds that is spent on
finding a solution
Value
- list with w, adapt and x_c