addon_blockSolution: add special LP constraints to an existing LP object-pair...

Description Usage Arguments Value

Description

add special LP constraints to an existing LP object–pair overlap control

Usage

1
2
3
4
5
6
7
8
addon_blockSolution(
  lp_obj,
  whichSolution = NULL,
  block_within_forms = T,
  block_across_forms = F,
  maxOverlapRate = 0.8,
  assignSolutionWtZero = T
)

Arguments

lp_obj

the LP object that has been solved at least one time

whichSolution

whichSolutiion in the lp_obj$formList should be added as a constraint controlling the overlap rate between this solution and those being generated iteratively.

block_within_forms

if TRUE, the overlap rate control per form is added as new constraints.

block_across_forms

if TRUE, the overlap rate control across forms is added as a new constraint. block_within_forms and block_across_forms can both be TRUE.

maxOverlapRate

the maximum overlap rate between the next new solution and the previous solutions.

assignSolutionWtZero

assign the solution items to have objective coef to be zeros.

Value

a LP object


yuehmeir2/myFormAssembler documentation built on June 9, 2021, 3:42 a.m.