Description Usage Arguments Value
add special LP constraints to an existing LP object–pair overlap control
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
)
|
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. |
a LP object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.