Description Usage Arguments Value Examples
The constraints are specified for one panel. Then, the constraints are extended internally based on num_panels.
1 2 3 4 5 6 7 8 9 10 11 |
num_panels |
the number of panels desired. |
timeout |
default is 60 seconds |
solver |
"cbc" (default), "symphony", "glpk" and "lpsolve". |
gap |
absolute MIP gap with default = 0 |
verbose |
|
lpObj |
the LP object that has been initialized and is ready to be solved. |
the solved lp object; if forms are successfully built, they can be found from formList, consSummaryList, and formSummaryList under lp_obj.
1 2 3 4 5 6 7 8 9 10 | example_name = "MST08_tiny"
num_panels = 15
solver = "cbc"
timeout = 60
gap = 0
verbose = TRUE
lp_obj = myFormAssembler::run_example(example_name, T, timeout, solver, gap, verbose)
lp_obj$output = NULL
lp_obj$x = NULL
lp_obj = to_solve_panels(lp_obj, num_panels, timeout, solver, gap, verbose, across_form_max_item_usage_count = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.