MipRules-class: Create a mip object from a validator object

Description Methods Examples

Description

Create a mip object from validator object. This is a utility class that translates a validor object into a mixed integer problem that can be solved. Most users should use locate_errors which will handle all translation and execution automatically. This class is provided so users can implement or derive a alternative solution.

Methods

The MipRules class contains the following methods:

Examples

1
2
3
4
5
rules <- validator(x > 1)
mr <- miprules(rules)
mr$to_lp()
mr$set_values(list(x=0, weight=list(x=1)))
mr$execute()

data-cleaning/errorlocate documentation built on Sept. 22, 2018, 9:37 p.m.