writeELAsMip: Rewrite an editset and reported values into the components...

Description Usage Arguments Value

View source: R/writeELAsMip.R

Description

Rewrite an editset and reported values into the components needed for a mip solver

Usage

1
2
writeELAsMip(E, x, weight = rep(1, length(x)), M = 1e+07, epsilon = 0.001,
  ...)

Arguments

E

editset or any object that is coercable to an editset.

x

named list or vector with data

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


editrules documentation built on May 20, 2017, 3:18 a.m.

Search within the editrules package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.