| .cardinality_branch_bound | R Documentation |
Searches the tree of inclusion decisions, bounding every node by its Lagrangian relaxation and keeping an incumbent that satisfies every stated constraint. Returns at any interruption with that incumbent and a global bound that is valid for the whole problem, never with an unproven claim of optimality.
.cardinality_branch_bound(
problem,
index = NULL,
coefs = NULL,
dual_steps = 20L,
branch = c("unit", "pair"),
node_limit = 500L,
time_limit = Inf,
should_stop = NULL,
cost = NULL,
tol = 1e-09
)
problem |
The network, or the pair |
index |
The network's index, unless |
coefs |
Moment coefficients, one per one-sided row. |
dual_steps |
Multiplier updates per node. |
branch |
Whether to branch on left-unit inclusion or on pairs. |
node_limit, time_limit |
Search budget, in nodes and in seconds. |
should_stop |
Optional predicate of the search state; |
cost |
Optional distance matrix for the audit. |
tol |
Numeric tolerance for certification, pruning and the row values. |
time_limit reaches the solver. A solve that runs out of budget stops
between augmentations and comes back saying so, and the node it belonged to
goes back on the frontier unopened, so the bound the search reports still
covers the whole tree.
A list of class cardinality_run.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.