Convergence of branch and bound #
Branch and bound minimizes f : X → ℝ over a feasible set D by splitting a set that contains D
into smaller and smaller pieces. Every piece carries a lower bound for f on its feasible part,
and the piece with the least bound is split next (best-first selection). The values of f at the
feasible points found so far give the incumbent, an upper bound for the infimum, and a piece may
be deleted once none of its feasible points can beat the incumbent. The run stops when the
incumbent is within ε of the least bound. This file proves the convergence theory of Horst and
Tuy for this scheme (HT, Theorem IV.3 and HT, Section IV.2) and applies it to
Lipschitz functions on a box, with the bound (IV.14') of HT, Section IV.4.1 and the
bisection of rectangles of HT, Section IV.3.2; Horst and Tuy prove convergence of such
methods in HT, Proposition XI.3 with HT, Remark XI.1 (i).
The declarations are in the namespaces ConvexAnalysis.BranchAndBound and ConvexAnalysis.Box
(boxes and their bisection).
Main definitions #
ConvexAnalysis.BranchAndBound.IsSubdivision D S: the setsS p, indexed by the nodesp : List ιof a finitely branching rooted tree (the children ofpare the nodesi :: p), subdivideD.ConvexAnalysis.BranchAndBound.IsExhaustive S: every nested sequence of sets of the tree shrinks to a point HT, Definition IV.10, in the extended diameterMetric.ediam; for a bounded root this is the condition onMetric.diam(ConvexAnalysis.BranchAndBound.IsSubdivision.isExhaustive_of_tendsto_diam).ConvexAnalysis.BranchAndBound.IsLowerBound D f S β:β p ≤ f yfor ally ∈ S p ∩ D.ConvexAnalysis.BranchAndBound.incumbent f x k: the least of the valuesf (x 0), …, f (x k).ConvexAnalysis.BranchAndBound.IsRun D f S β P sel x: a branch and bound run with the partitionsP k, the best-first selected nodessel k, the evaluated feasible pointsx k, and deletion of nodes that cannot contain a point better than the incumbent.ConvexAnalysis.BranchAndBound.IsConsistentRun f β sel x: the consistency of Horst and Tuy HT, Definition IV.4: along every nested sequence of selected nodes, the gap between the incumbent and the bound tends to0. It depends on the run.ConvexAnalysis.BranchAndBound.IsConsistent D f S βandConvexAnalysis.BranchAndBound.IsConsistentOnPaths D f S βare run-independent conditions on the bounds: the gap betweenfand the bound tends to0along every sequence of nodes whose sets shrink inMetric.ediam(along nested sequences only, in the second form).ConvexAnalysis.BranchAndBound.bestFirstPartition β,ConvexAnalysis.BranchAndBound.bestFirstNode β: the best-first run without deletion;ConvexAnalysis.BranchAndBound.bestFirstPrunedPartition D f S β pt,ConvexAnalysis.BranchAndBound.bestFirstPrunedNode D f S β pt: the best-first run that deletes by bound and by infeasibility.ConvexAnalysis.Box.bisectionSet a b: the tree of longest-edge bisections of the boxIcc a b.ConvexAnalysis.BranchAndBound.lipschitzBound f K a b,ConvexAnalysis.BranchAndBound.lipschitzNode f K a b,ConvexAnalysis.BranchAndBound.lipschitzPoint f K a b: the Lipschitz branch and bound method: the boundf c - K rat the centercof a box of radiusr(the bound (IV.14') of HT, Section IV.4.1, there with the Euclidean norm), best-first selection, and evaluation at the centers.
Main statements #
For a run h : IsRun D f S β P sel x on a subdivision S of D, with lower bounds β, and the
infimum m of f on D (IsGLB (f '' D) m; no minimizer needs to exist):
ConvexAnalysis.BranchAndBound.IsRun.injective_sel: no node is selected twice, so the depth of the selected nodes tends to infinity (ConvexAnalysis.BranchAndBound.IsRun.tendsto_length_sel).ConvexAnalysis.BranchAndBound.IsRun.bound_le,ConvexAnalysis.BranchAndBound.IsRun.bound_le_incumbent: the least boundβ (sel k)is at most every value offonD, and at most the incumbent;ConvexAnalysis.BranchAndBound.IsRun.incumbent_le_add_of_sub_le: the stopping testincumbent - β (sel k) ≤ εcertifies that the incumbent isε-optimal.ConvexAnalysis.BranchAndBound.IsRun.tendsto_incumbent_of_isConsistentRun,ConvexAnalysis.BranchAndBound.IsRun.tendsto_bound_of_isConsistentRun: convergence of branch and bound in the form of Horst and Tuy HT, Theorem IV.3, for best-first selection and with the infimum in place of a minimum. If the bounds are consistent along the run, the incumbent values decrease tom, and if moreover the bounds do not decrease from a node to its children, the least bounds increase tom. The subdivision need not be exhaustive. By Kőnig's lemma (ConvexAnalysis.BranchAndBound.exists_path_of_forall_exists_le_length), the selected nodes contain an infinite nested sequence (ConvexAnalysis.BranchAndBound.IsRun.exists_nested_sel).ConvexAnalysis.BranchAndBound.IsConsistentOnPaths.isConsistentRun: for an exhaustive subdivision, bounds that are consistent along nested sequences are consistent along every run (compare HT, Lemma IV.5, which assumesfcontinuous); henceConvexAnalysis.BranchAndBound.IsRun.tendsto_bound_of_isConsistentOnPathsandConvexAnalysis.BranchAndBound.IsRun.tendsto_incumbent_of_isConsistentOnPaths.ConvexAnalysis.BranchAndBound.IsRun.tendsto_bound,ConvexAnalysis.BranchAndBound.IsRun.tendsto_incumbent,ConvexAnalysis.BranchAndBound.IsRun.tendsto_apply: for an exhaustive subdivision and consistent lower bounds (ConvexAnalysis.BranchAndBound.IsConsistent), the least bounds, the incumbent values and the values at all evaluated points tend tom, with no monotonicity of the bounds (compare HT, Proposition IV.3, HT, Lemma IV.5 and HT, Corollary IV.3);ConvexAnalysis.BranchAndBound.IsRun.exists_isMinOn_and_tendstois the form for a lower semicontinuousfon a compactD. By Kőnig's lemma, an exhaustive subdivision shrinks uniformly in the depth (ConvexAnalysis.BranchAndBound.IsExhaustive.exists_forall_ediam_lt,ConvexAnalysis.BranchAndBound.IsExhaustive.exists_forall_diam_lt).ConvexAnalysis.BranchAndBound.IsRun.isMinOn_of_mapClusterPt: every cluster point of the evaluated points is a global minimizer (compare HT, Corollary IV.5);ConvexAnalysis.BranchAndBound.IsRun.isMinOn_of_mapClusterPt_of_isConsistentRun: under the consistency of Horst and Tuy, every cluster point of points whose values are at most the incumbent (for example the incumbent points) is a global minimizer (HT, Corollary IV.2, there for continuousfwith a bounded level set).ConvexAnalysis.BranchAndBound.IsRun.exists_incumbent_sub_bound_le,ConvexAnalysis.BranchAndBound.IsRun.exists_incumbent_sub_bound_le_of_isConsistentRun: finite termination. For everyε > 0, the stopping test holds at a finite step, with anε-optimal point; with the stopping rule of HT, Remark IV.1 (iv), a consequence of HT, Theorem IV.3 that Horst and Tuy do not state separately.ConvexAnalysis.BranchAndBound.isRun_bestFirst,ConvexAnalysis.BranchAndBound.isRun_bestFirstPruned: the best-first runs without and with deletion satisfy the hypotheses, so the hypotheses are not contradictory;ConvexAnalysis.BranchAndBound.IsLowerBound.forall_lt_of_ltgives the deletion condition from a bound.ConvexAnalysis.BranchAndBound.isLowerBound_and_isConsistent_of_mem_Icc: interval branch and bound. The lower endpoints of an inclusion function whose width on bounded nodes tends to0with the diameter are consistent lower bounds.
For f Lipschitz with constant K on a box Icc a b in ι → ℝ:
ConvexAnalysis.Box.halveLongest_iterate_card_le,ConvexAnalysis.Box.diam_bisectionSet_le:nlongest-edge bisections of a box inndimensions halve its diameter, so the boxes at depthn mhave diameter at most‖b - a‖ / 2 ^ m; henceConvexAnalysis.BranchAndBound.isExhaustive_bisectionSet. Horst and Tuy state the exhaustiveness without proof and without a rate HT, Section IV.3.2.ConvexAnalysis.BranchAndBound.isLowerBound_lipschitzBound,ConvexAnalysis.BranchAndBound.isConsistent_lipschitzBound,ConvexAnalysis.BranchAndBound.isRun_lipschitz: the Lipschitz method is a branch and bound run with valid and consistent bounds.ConvexAnalysis.BranchAndBound.exists_isMinOn_and_tendsto_lipschitz,ConvexAnalysis.BranchAndBound.monotone_lipschitzBound_lipschitzNode: the lower bounds increase tomin fand the incumbent values decrease tomin f;ConvexAnalysis.BranchAndBound.isMinOn_of_mapClusterPt_lipschitzPoint: every cluster point of the evaluated centers is a global minimizer (compare HT, Proposition XI.3 and HT, Remark XI.1 (i)).ConvexAnalysis.BranchAndBound.exists_lt_two_pow_incumbent_sub_lipschitzBound_le,ConvexAnalysis.BranchAndBound.exists_lt_incumbent_sub_lipschitzBound_le: iteration bound. The stopping test with toleranceεholds after fewer thanmax 1 ((K ‖b - a‖ / ε) ^ n)steps,nthe dimension, and the incumbent is thenε-optimal. This bound is not in [HT96], which has only HT, Theorem XI.1 and the passive grid (XI.4) in dimension one.
Implementation notes #
- State of a run. The pieces are the nodes of the tree
List ι, not sets: two nodes may carry the same set (for example a degenerate box), the depth of a node is its length, and each depth has finitely many nodes. The partition at stepkis a finite set of nodesP k. The hypotheses ofConvexAnalysis.BranchAndBound.IsRundescribe one step of the algorithm: the selection, the evaluation,P (k + 1) ⊆ (P k \ {sel k}) ∪ children (sel k), and the condition under which a candidate may be deleted. The invariants (the partitions are antichains, no node is selected twice, no feasible point is lost, the ancestors of selected nodes are selected) are proved from them. - Selection. Best-first selection is a special case of the bound improving selection of
HT, Definition IV.6, which only asks that a piece with the least bound be selected after
finitely many steps, and which may refine several pieces in one step. Every selected set contains
a known feasible point (
ConvexAnalysis.BranchAndBound.IsRun.point_mem), the point at whichfis evaluated; the pieces of uncertain feasibility of HT, Definition IV.2 are outside this model. For the boxD = Icc a b, the centers serve. The incumbent is formed from the pointsx konly; an implementation that also evaluates other points has an incumbent between the infimum andConvexAnalysis.BranchAndBound.incumbent f x k, which converges as well. - Deletion. A candidate
qmay be deleted at stepkifincumbent f x k < f yfor ally ∈ S q ∩ D; this covers deletion by bound (incumbent < β q) and by infeasibility (S q ∩ D = ∅). The inequality is strict, so that a minimizer is never deleted and the run never runs out of nodes; with the ruleβ q ≥ incumbentof Step k.1 of the prototype method of HT, Section IV.1, a run may end with an empty partition, and then the incumbent is optimal (HT, Remark IV.1 (i)). The selected bound is at most the incumbent (ConvexAnalysis.BranchAndBound.IsRun.bound_le_incumbent), so best-first selection never selects a node that could have been deleted by bound, and deletion by bound only saves memory. Deletion by infeasibility is different: an infeasible node may have the least bound, and it cannot be selected, since every selected node must contain a feasible point, so it has to be deleted. The run without deletion,ConvexAnalysis.BranchAndBound.isRun_bestFirst, needs a feasible point in every node. - Consistency. The theorems of Horst and Tuy assume
ConvexAnalysis.BranchAndBound.IsConsistentRun, a condition on the run, and need no exhaustiveness: the ω-subdivisions of cones and simplices that Horst and Tuy use for concave minimization need not be exhaustive (HT, Section VII.1). Horst and Tuy take the incumbent at the step where a piece enters the partition; here it is taken at the later step where the piece is selected, and since the incumbent decreases, the condition here is at most as strong (compare HT, Definition IV.4 and HT, Remark IV.3 (i)). Bounds that do not decrease from a node to its children are the requirement of Step k.4 of HT, Section IV.1.ConvexAnalysis.BranchAndBound.IsConsistentasks for the gap to vanish along every sequence of nodes whose extended diameters tend to0; the Lipschitz bound and inclusion functions satisfy it with a gap at mostK · diam(ConvexAnalysis.BranchAndBound.IsLowerBound.isConsistent). With an exhaustive subdivision, the values at all evaluated points converge, and every cluster point of them is a minimizer.ConvexAnalysis.BranchAndBound.IsConsistentOnPathsconstrains the bounds along nested sequences only; it is a run-independent sufficient condition forConvexAnalysis.BranchAndBound.IsConsistentRunwhen the subdivision is exhaustive. The convergence of the least bounds then needs bounds that do not decrease from a node to its children, which can always be arranged by taking the maximum with the bound of the parent (asConvexAnalysis.BranchAndBound.lipschitzBounddoes). - Diameters. Mathlib's
Metric.diamis0for unbounded sets, soConvexAnalysis.BranchAndBound.IsExhaustive,ConvexAnalysis.BranchAndBound.IsConsistentandConvexAnalysis.BranchAndBound.IsConsistentOnPathsare stated with the extended diameterMetric.ediam, and a subdivision need not have a bounded root. WithMetric.diam, consistency would test constant sequences of unbounded nodes, for examplep n = [], and on an unbounded root it would forcefto be constant onD. For a bounded root, both forms agree (ConvexAnalysis.BranchAndBound.IsSubdivision.isExhaustive_of_tendsto_diam,ConvexAnalysis.BranchAndBound.IsSubdivision.isConsistent_iff_of_isBounded,ConvexAnalysis.BranchAndBound.IsSubdivision.isConsistentOnPaths_iff_of_isBounded). The theorems that do not assume exhaustiveness (the form of Horst and Tuy, the stopping test, the best-first runs) need no metric onX, and a topology only for cluster points. - Boxes. A box is given by its corners
B : (ι → ℝ) × (ι → ℝ), andι → ℝcarries the sup norm, in which the diameter ofIcc a bis‖b - a‖(ConvexAnalysis.diam_Icc_eq_norm_sub) and the Lipschitz constantKis taken. The center is Mathlib'smidpoint ℝ B.1 B.2. The longest edge is chosen byFinset.exists_max_image; the halving argument does not depend on how ties are broken. Both halves of a box have the same edge lengths, so the edge lengths depend only on the depth. - Lipschitz optimization. The method here is branch and bound with boxes, longest-edge bisection
and the bound at the center: the bound (IV.14') of HT, Section IV.4.1 in the sup norm, the
bisection of HT, Section IV.3.2, and the maximum with the bound of the parent of
HT, Section IV.4.5. It is not literally an algorithm of HT, Chapter XI, whose box
method, Algorithm XI.4, uses another bound; HT, Remark XI.1 (i) extends its convergence,
HT, Proposition XI.3, to other bounds such as this one. The methods of Piyavskii and
Shubert (HT, Section XI.1), which minimize the saw-tooth lower envelope
max_j (f (x j) - K |t - x j|)of a function of one variable, are related but not formalized here. - Interval Newton. The exclusion test
ConvexAnalysis.not_isLocalMin_of_intervalNewton_inter_eq_emptyshows that a box contains no local minimizer of the objective; it does not show that no point of the box beats the incumbent, which the deletion rule here needs, and it misses minimizers on the boundary ofD, which need not be local minimizers. It is therefore not used. - Mathlib has no branch and bound, Lipschitz global optimization or interval global optimization,
and no Mathlib pull request mentions branch and bound (searched on 2026-11-30); optlib and
ReasBook have none either. Mathlib's Kőnig lemma (
exists_seq_covby_of_forall_covby_finite) is stated for strongly atomic partial orders; the short direct proof for the tree of lists avoids an order instance on a type synonym ofList ι.
References #
- R. Horst, H. Tuy, Global Optimization: Deterministic Approaches, 3rd ed., Springer, 1996. Chapter IV (branch and bound: Sections IV.1–IV.4, Definitions IV.2, IV.4, IV.6, IV.10, Theorem IV.3), Chapter XI (Lipschitz and continuous optimization: Proposition XI.3).
- R. Horst, P. M. Pardalos, N. V. Thoai, Introduction to Global Optimization, 2nd ed., Kluwer, 2000.
- S. Skelboe, Computation of rational interval functions, BIT 14 (1974), 87–95.
- H. Ratschek, J. Rokne, New Computer Methods for Global Optimization, Ellis Horwood, 1988.
Related work, not formalized here:
- S. A. Piyavskii, An algorithm for finding the absolute extremum of a function, USSR Comput. Math. Math. Phys. 12 (1972), 57–67.
- B. O. Shubert, A sequential method seeking the global maximum of a function, SIAM J. Numer. Anal. 9 (1972), 379–388.
Tags #
branch and bound, global optimization, exhaustive subdivision, consistent bounding, Lipschitz optimization, bisection, interval branch and bound, Moore–Skelboe algorithm, Kőnig's lemma
The incumbent value #
The incumbent value after step k: the least of the values f (x 0), …, f (x k) at the
feasible points found so far.
Equations
- ConvexAnalysis.BranchAndBound.incumbent f x k = (Finset.range (k + 1)).inf' ⋯ fun (j : ℕ) => f (x j)
Instances For
Kőnig's lemma for the tree of lists #
Kőnig's lemma for the tree of lists: a set G of nodes that is closed under taking
ancestors and contains nodes of every depth contains an infinite path from the root.
Branch and bound runs #
The candidates for the partition after a branching step: the partition P without the
selected node p, and the children of p.
Equations
- ConvexAnalysis.BranchAndBound.candidates P p = P.erase p ∪ Finset.image (fun (x : ι) => x :: p) Finset.univ
Instances For
IsLowerBound D f S β: β p is a lower bound of f on the feasible part S p ∩ D of the
node p.
Equations
- ConvexAnalysis.BranchAndBound.IsLowerBound D f S β = ∀ (p : List ι), ∀ y ∈ S p ∩ D, β p ≤ f y
Instances For
Deletion by bound: if a value c (for example the incumbent value) is less than the lower
bound β q, then it is less than every value of f on the feasible part of q, so the
deletion condition of ConvexAnalysis.BranchAndBound.IsRun holds for q.
IsRun D f S β P sel x: a branch and bound run for minimizing f over D on the
subdivision tree S with the bounds β. At step k, the current partition is the finite set of
nodes P k, starting with the root, P 0 = {[]}. The run selects a node sel k ∈ P k with the
least bound (best-first selection), evaluates f at a feasible point x k ∈ S (sel k) ∩ D,
and replaces sel k by its children. The next partition P (k + 1) consists of candidates
(ConvexAnalysis.BranchAndBound.candidates), and a candidate q may be deleted only if no
feasible point of S q is as good as the incumbent: incumbent f x k < f y for all
y ∈ S q ∩ D, for example because incumbent f x k < β q
(ConvexAnalysis.BranchAndBound.IsLowerBound.forall_lt_of_lt), or because S q ∩ D = ∅.
Best-first selection is a special case of the bound improving selection of
HT, Definition IV.6, which only asks that a piece with the least bound be selected after
finitely many steps, and which may refine several pieces in one step. Every selected set contains
a known feasible point (point_mem); the pieces of uncertain feasibility of
HT, Definition IV.2 are outside this model.
The run starts with the root.
The selected node belongs to the current partition.
Best-first selection: the selected node has the least bound.
The evaluated point is a feasible point of the selected set.
- part_succ_subset (k : ℕ) : P (k + 1) ⊆ candidates (P k) (sel k)
The selected node is replaced by its children.
- lt_of_notMem (k : ℕ) (q : List ι) : q ∈ candidates (P k) (sel k) → q ∉ P (k + 1) → ∀ y ∈ S q ∩ D, incumbent f x k < f y
A candidate is deleted only if none of its feasible points is as good as the incumbent.
Instances For
A run never selects the same node twice.
The depth of the selected nodes tends to infinity.
Every node of a partition other than the root is a child of a node selected earlier.
The ancestors of selected nodes are selected.
Kőnig's lemma for a run: the selected nodes contain an infinite nested sequence
sel (s 0), sel (s 1), …, each a child of the previous one.
If the bounds do not decrease from a node to its children, then the bounds of the selected nodes increase.
IsConsistentRun f β sel x: the bounds are consistent along the run in the sense of Horst
and Tuy HT, Definition IV.4: along every nested sequence of selected nodes
sel (s 0), sel (s 1), … (each a child of the previous one), the gap
incumbent f x (s n) - β (sel (s n)) between the incumbent value and the bound tends to 0. Unlike
ConvexAnalysis.BranchAndBound.IsConsistent and
ConvexAnalysis.BranchAndBound.IsConsistentOnPaths, it depends on the run, and it does not ask the
sets to shrink. Horst and Tuy take the incumbent at the step where the piece enters the partition,
here at the later step where it is selected; their requirement that every unfathomed piece can be
refined holds automatically in the tree.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The partitions of the best-first branch and bound run without deletion: start with the root, and replace a node with the least bound by its children at every step.
Equations
Instances For
The node selected at step k of the best-first run.
Equations
Instances For
The partitions of the best-first run without deletion are nonempty.
The best-first run without deletion is a branch and bound run as soon as every node has a
feasible point pt p ∈ S p ∩ D, at which f is evaluated.
The state of the best-first run with deletion after step k: the partition, and the
incumbent value at the points pt (sel j), j ≤ k. At every step, a node with the least bound is
selected, and a candidate q is deleted if the incumbent value is less than β q (deletion by
bound) or if S q ∩ D = ∅ (deletion by infeasibility).
Equations
Instances For
The partitions of the best-first run that deletes by bound and by infeasibility.
Equations
- ConvexAnalysis.BranchAndBound.bestFirstPrunedPartition D f S β pt k = (ConvexAnalysis.BranchAndBound.bestFirstPrunedState D f S β pt k).1
Instances For
The node selected at step k of the best-first run that deletes by bound and by
infeasibility.
Equations
Instances For
The second component of ConvexAnalysis.BranchAndBound.bestFirstPrunedState is the incumbent
value.
A node of the partition after step k + 1 of the best-first run with deletion is a
candidate whose bound is at most the incumbent value and whose set contains a feasible point.
Subdivision trees and bounds #
IsSubdivision D S: the sets S p form a subdivision tree of the feasible set D. The
nodes are the lists p : List ι, the root is [], and the children of p are the nodes i :: p
(so p lists the branching decisions from the last to the first). The root contains D, every
child lies in its parent, and the children cover the feasible part of their parent. No metric is
needed.
The root contains the feasible set.
Every child lies in its parent.
The children cover the feasible part of their parent.
Instances For
The set of a descendant lies in the set of the node.
IsExhaustive S: the subdivision is exhaustive in the sense of Horst and Tuy
HT, Definition IV.10: every nested sequence of sets of the tree (each the child of the
previous one) shrinks to at most a point, ediam (S (p n)) → 0. Horst and Tuy use the Euclidean
diameter of subsets of ℝⁿ; here X is any pseudometric space. The extended diameter
Metric.ediam is used because Metric.diam is 0 for unbounded sets; for a tree with a bounded
root the condition is diam (S (p n)) → 0
(ConvexAnalysis.BranchAndBound.IsSubdivision.isExhaustive_of_tendsto_diam), and it implies this
(ConvexAnalysis.BranchAndBound.IsExhaustive.tendsto_diam).
Equations
- One or more equations did not get rendered due to their size.
Instances For
IsConsistent D f S β: the bounds are consistent along every sequence of nodes whose sets
shrink: if ediam (S (p n)) → 0, then the gap f (y n) - β (p n) tends to 0 for all feasible
points y n ∈ S (p n) ∩ D. It does not depend on a run. The extended diameter Metric.ediam is
used for the reason given at ConvexAnalysis.BranchAndBound.IsExhaustive; for a tree with a bounded
root this is the condition on Metric.diam
(ConvexAnalysis.BranchAndBound.IsSubdivision.isConsistent_iff_of_isBounded).
Equations
- One or more equations did not get rendered due to their size.
Instances For
IsConsistentOnPaths D f S β: the bounds are consistent along nested sequences: along every
nested sequence of nodes (each a child of the previous one) whose sets shrink,
ediam (S (p n)) → 0, the gap f (y n) - β (p n) tends to 0 for all feasible points
y n ∈ S (p n) ∩ D. It is weaker than ConvexAnalysis.BranchAndBound.IsConsistent, and it is a
run-independent sufficient condition for the consistency of Horst and Tuy
(ConvexAnalysis.BranchAndBound.IsConsistentRun) on an exhaustive subdivision
(ConvexAnalysis.BranchAndBound.IsConsistentOnPaths.isConsistentRun). For a tree with a bounded
root, Metric.diam may replace Metric.ediam
(ConvexAnalysis.BranchAndBound.IsSubdivision.isConsistentOnPaths_iff_of_isBounded).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Consistent bounds are consistent along nested sequences.
The sets of a subdivision tree with a bounded root are bounded.
On a subdivision tree with a bounded root, ConvexAnalysis.BranchAndBound.IsConsistent may be
stated with Metric.diam in place of Metric.ediam.
On a subdivision tree with a bounded root, ConvexAnalysis.BranchAndBound.IsConsistentOnPaths
may be stated with Metric.diam in place of Metric.ediam.
Along a nested sequence of an exhaustive subdivision, the diameters tend to 0.
A subdivision tree with a bounded root is exhaustive if the diameters tend to 0 along every
nested sequence.
Kőnig's lemma for exhaustive subdivisions: if every nested sequence of sets of a finitely
branching subdivision tree shrinks, then the sets shrink uniformly in the depth: for every
δ > 0, all nodes of depth at least some d have sets of extended diameter < δ.
Kőnig's lemma for exhaustive subdivisions, with Metric.diam: for every δ > 0, all
nodes of depth at least some d have sets of diameter < δ
(ConvexAnalysis.BranchAndBound.IsExhaustive.exists_forall_ediam_lt).
Lower bounds whose gap on a bounded node is at most ω of the diameter of its set, with
ω t → 0 as t → 0, are consistent. Nothing is asked of unbounded nodes, since the sets of a
sequence of nodes with ediam (S (p n)) → 0 are eventually bounded.
Interval branch and bound: an inclusion function, which encloses the values of f on the
feasible part of each node in an interval [lo p, hi p], of width at most ω (diam (S p)) on
bounded nodes, with ω t → 0 as t → 0, gives consistent lower bounds lo. This is the setting
of the Moore–Skelboe algorithm, best-first selection by the lower
endpoint lo.
Convergence #
No feasible point is lost: every y ∈ D lies in a set of the current partition, or was
deleted at an earlier step j, at which the incumbent was already better than f y.
The bound of the selected node is at most every value of f on D. No minimizer needs to
exist.
The bound of the selected node is at most the incumbent value. Hence best-first selection never selects a node that could have been deleted by bound.
The bound of the selected node is a lower bound of the infimum of f on D.
Along a run, f is bounded below on the nonempty set D, so its infimum on D exists.
Soundness of the stopping test: if the incumbent is within ε of the bound of the
selected node, then it is within ε of every value of f on D.
The form of Horst and Tuy #
Convergence of the upper bounds in the form of Horst and Tuy HT, Theorem IV.3: if the
bounds are consistent along the run, then the incumbent values decrease to the infimum m of f
on D. The subdivision need not be exhaustive, and the bounds need not increase. Horst and Tuy
assume a bound improving selection and a minimizer; here the selection is best-first and m is
the infimum.
Convergence of the lower bounds in the form of Horst and Tuy HT, Theorem IV.3: if the
bounds are consistent along the run and do not decrease from a node to its children (the
monotonicity of Step k.4 of HT, Section IV.1), then the bounds of the selected nodes
increase to the infimum m of f on D. The subdivision need not be exhaustive.
Finite termination with an ε-optimal point in the form of Horst and Tuy: for every
ε > 0, the stopping test incumbent - bound ≤ ε of HT, Remark IV.1 (iv) holds at some
step k, and then one of the points x j, j ≤ k, is ε-optimal. Neither exhaustiveness nor
increasing bounds are needed. Horst and Tuy do not state this consequence of
HT, Theorem IV.3 separately.
Finite termination in the form of Horst and Tuy: for every ε > 0, the stopping test
incumbent - bound ≤ ε holds from some step on, if the bounds are consistent along the run and
do not decrease from a node to its children; a consequence of HT, Theorem IV.3.
Cluster points of incumbent points are global minimizers in the form of Horst and Tuy: if
the bounds are consistent along the run, D is closed and f is lower semicontinuous on D,
then every cluster point of points y k ∈ D with f (y k) ≤ incumbent f x k (for example the
incumbent points) minimizes f on D. The evaluated points themselves need not have this
property. HT, Corollary IV.2 assumes f continuous, D closed and a bounded level set;
here f is lower semicontinuous and a cluster point is assumed instead.
The best-first run that deletes by bound and by infeasibility
(ConvexAnalysis.BranchAndBound.bestFirstPrunedPartition) is a branch and bound run, for lower
bounds β on a subdivision of a nonempty D, if f is evaluated at a feasible point
pt p ∈ S p ∩ D of every node p that has one.
Convergence on exhaustive subdivisions #
The extended diameters of the selected sets tend to 0.
The diameters of the selected sets tend to 0.
The gap between the value at the evaluated point and the bound of the selected node tends
to 0.
Convergence of the lower bounds: the bounds β (sel k) of the selected nodes, the least
bounds of the current partitions, tend to the infimum m of f on D.
The values at the evaluated points tend to the infimum m of f on D.
Convergence of the upper bounds: the incumbent values decrease to the infimum m of f
on D.
ConvexAnalysis.BranchAndBound.IsRun.tendsto_bound for a minimizer z of f on D.
ConvexAnalysis.BranchAndBound.IsRun.tendsto_apply for a minimizer z of f on D.
ConvexAnalysis.BranchAndBound.IsRun.tendsto_incumbent for a minimizer z of f on D.
Accumulation points are global minimizers: if D is closed and f is lower
semicontinuous on D, then every cluster point of the evaluated points minimizes f on D.
Compare HT, Corollary IV.5, for continuous f and strongly consistent bounds.
Finite termination: for every ε > 0, the stopping test incumbent - bound ≤ ε holds
from some step on.
Finite termination with an ε-optimal point: for every ε > 0, the stopping test
incumbent - bound ≤ ε holds at some step k, and then one of the points x j, j ≤ k, is
ε-optimal. No minimizer of f needs to exist.
Convergence of branch and bound for a lower semicontinuous function on a compact set: f
has a minimizer z on D, and the lower bounds β (sel k) and the incumbent values tend to
f z. Compare HT, Proposition IV.3, HT, Lemma IV.5, HT, Theorem IV.3 and
HT, Corollary IV.3; no monotonicity of the bounds is needed here.
On an exhaustive subdivision, lower bounds that are consistent along nested sequences are
consistent along every run in the sense of Horst and Tuy. Compare HT, Lemma IV.5, which
derives consistency from strong consistency for continuous f; no continuity is needed here.
Convergence of the lower bounds for bounds consistent along nested sequences on an
exhaustive subdivision, if they do not decrease from a node to its children: the bounds of the
selected nodes increase to the infimum m of f on D.
Convergence of the upper bounds for bounds consistent along nested sequences on an
exhaustive subdivision: the incumbent values decrease to the infimum m of f on D.
Finite termination for bounds consistent along nested sequences on an exhaustive
subdivision, if they do not decrease from a node to its children: for every ε > 0, the
stopping test incumbent - bound ≤ ε holds from some step on.
Longest-edge bisection of boxes #
An index of a largest entry of w. For the edge lengths w = b - a of a box Icc a b, it is
a longest edge.
Equations
Instances For
The longest edge is at least as long as every edge.
The edge lengths after one longest-edge bisection: the largest entry of w is halved.
Equations
Instances For
Longest-edge bisection of the box Icc B.1 B.2, given by its corners: the half
c = false is the lower and c = true the upper half along a longest edge.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The bisection tree of the box Icc a b: the corners of the box at the node p, obtained
from Icc a b by the longest-edge bisections listed in p (the last one first).
Equations
- ConvexAnalysis.Box.bisectionTree a b [] = (a, b)
- ConvexAnalysis.Box.bisectionTree a b (c :: p) = ConvexAnalysis.Box.bisect (ConvexAnalysis.Box.bisectionTree a b p) c
Instances For
The box at the node p of the bisection tree of Icc a b.
Equations
- ConvexAnalysis.Box.bisectionSet a b p = Set.Icc (ConvexAnalysis.Box.bisectionTree a b p).1 (ConvexAnalysis.Box.bisectionTree a b p).2
Instances For
Both halves of a box have the same edge lengths; at depth d, they are the d-th iterate of
ConvexAnalysis.Box.halveLongest on b - a.
Halving the longest edge keeps the edge lengths nonnegative.
Halving the longest edge does not increase the edge lengths.
Repeated halving keeps the edge lengths nonnegative.
Repeated halving decreases the edge lengths.
Longest-edge bisection halves the boxes: after n bisections of a box in n dimensions
whose edges have length at most W, every edge has length at most W / 2.
After n m longest-edge bisections of a box in n dimensions whose edges have length at most
W, every edge has length at most W / 2 ^ m.
The corners of the boxes of the bisection tree of Icc a b, a ≤ b, are ordered.
The boxes of the bisection tree of Icc a b lie in Icc a b.
The diameter of a box of the bisection tree depends only on its depth.
Explicit exhaustiveness of longest-edge bisection: the boxes at depth at least n m have
at most 1 / 2 ^ m times the diameter of Icc a b, n the dimension. HT, Section IV.3.2
states the exhaustiveness without proof and without a rate.
The bisection tree is a subdivision tree of the box Icc a b.
Longest-edge bisection is exhaustive HT, Section IV.3.2.
Branch and bound for Lipschitz functions on a box #
The Lipschitz lower bound on the box Icc B.1 B.2: f c - K r with the center
c = midpoint ℝ B.1 B.2 and the radius r = ‖B.2 - B.1‖ / 2 of the box in the sup norm. This is
the bound (IV.14') of HT, Section IV.4.1, there with the Euclidean diagonal and Lipschitz
constant.
Equations
Instances For
The bounds of the Lipschitz branch and bound method on the bisection tree of Icc a b:
the Lipschitz bound of the box, raised to the bound of the parent, so that the bounds do not
decrease from a box to its halves, as in HT, Section IV.4.5.
Equations
- One or more equations did not get rendered due to their size.
- ConvexAnalysis.BranchAndBound.lipschitzBound f K a b [] = ConvexAnalysis.BranchAndBound.lipschitzBoxBound f K (a, b)
Instances For
The Lipschitz bound of a box in Icc a b is a lower bound of f on the box.
The gap of the Lipschitz bound of a box in Icc a b is at most K times the width.
The Lipschitz bounds are lower bounds.
The gap of the Lipschitz bound on a box is at most K times its diameter.
At the center of a box, the gap of the Lipschitz bound is at most K times half the
diameter. No Lipschitz condition is needed.
The Lipschitz bounds are consistent. Compare HT, Proposition IV.3, which proves the strong consistency of a vertex bound under exhaustive subdivision.
The node selected at step k of the Lipschitz branch and bound method on Icc a b:
best-first selection on the bisection tree with the bounds
ConvexAnalysis.BranchAndBound.lipschitzBound.
Equations
Instances For
The point at which the Lipschitz method evaluates f at step k: the center of the selected
box.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The Lipschitz method is a branch and bound run.
The lower bounds of the Lipschitz method increase.
Convergence of the Lipschitz branch and bound method: for f Lipschitz with constant K
on Icc a b (in the sup norm), f has a minimizer z on the box, and the lower bounds
lipschitzBound f K a b (lipschitzNode f K a b k) (which increase) and the incumbent values
(which decrease) tend to f z. This is HT, Proposition XI.3 for this method, which
HT, Remark XI.1 (i) covers.
Every cluster point of the points evaluated by the Lipschitz method minimizes f on the
box (HT, Proposition XI.3 with HT, Remark XI.1 (i)).
Iteration bound for the Lipschitz method: if K ‖b - a‖ ≤ 2 ^ (m + 1) ε, then at some
step k < 2 ^ (n m), n the dimension, the stopping test incumbent - bound ≤ ε holds, and the
incumbent value is then within ε of every value of f on the box. The gap at the center of a
box is half the gap K · diam of ConvexAnalysis.BranchAndBound.sub_lipschitzBound_le
(ConvexAnalysis.BranchAndBound.apply_midpoint_sub_lipschitzBound_le).
Iteration bound for the Lipschitz method, explicit form: for ε > 0, the stopping test
incumbent - bound ≤ ε holds at some step k < max 1 ((K ‖b - a‖ / ε) ^ n), n the dimension,
and the incumbent value is then within ε of every value of f on the box. Horst and Tuy give
no such bound; compare the passive grid (XI.4) of HT, Section XI.1 in dimension one.