Learn R Programming

editrules (version 2.9.5)

as.mip: Write an editset into a mip representation

Description

Writes an editset or an object coercable to an editset as a mip problem.

Usage

as.mip(
  E,
  x = NULL,
  weight = NULL,
  M = 1e+07,
  epsilon = 0.001,
  prefix = "delta.",
  ...
)

Value

a mip object containing al information for transforming it into an lp/mip problem

Arguments

E

an link{editset} or an object that is coerciable to an editset

x

named list/vector with variable values

weight

reliability weights for values of x

M

Constant that is used for allowing the values to differ from x

epsilon

Constant that is used for converting '<' into '<='

prefix

prefix for dummy variables that are created

...

not used