writeELAsMip {editrules} | R Documentation |
Rewrite an editset and reported values into the components needed for a mip solver
Description
Rewrite an editset and reported values into the components needed for a mip solver
Usage
writeELAsMip(E, x, weight = rep(1, length(x)), M = 1e+07, epsilon = 0.001, ...)
Arguments
E |
|
x |
named |
weight |
vector with weights of the variable in the same order as x |
M |
maximum allowed difference between reported value and corrected value |
epsilon |
offset needed for writing a strict inequality into a an inequality |
Value
list with an editmatrix, objfn, binvars, numvars, M and epsilon
[Package editrules version 2.9.5 Index]