Skip to content

generator_global_bound: confine the two heaviest weights to a box - #82

Merged
Autoplectic merged 1 commit into
mainfrom
global-bound-weight-box
Nov 28, 2026
Merged

Autoplectic merged 1 commit into
mainfrom
global-bound-weight-box

Conversation

@Autoplectic

Copy link
Copy Markdown
Member

Summary

generator_global_bound(..., weight_box=(lo0, hi0, lo1, hi1)) adds lo0 <= pi_0 <= hi0 and lo1 <= pi_1 <= hi1 on the two heaviest weights, which the model already sorts. The result then speaks only for generators whose two heaviest weights lie in the box. So the region those weights can take can be covered by boxes, each solved alone, which bounds every generator with at most k states where one solve over the whole region does not finish.

That is the case on two 3-state processes at k = 5: with the objective limit 1e-5 below the best one-sided generator, the solve over the whole region stopped after three hours with its dual bound at 98% (n3-t125-d0) and 95% (n3-t088-d4) of the limit, without a solution. On n3-t125-d0, entropy pruning leaves three boxes of the region, and the first one SCIP solved was infeasible in 421 s under the default settings and again with presolve and OBBT off.

Tests

  • Fast suite (-m "not slow and not very_slow"): 2930 passed, 9 skipped.
  • New: on the golden mean at k = 2, whose optimum has weights (2/3, 1/3), a box around them gives the optimum, and a box away from them is infeasible under the same objective limit.

Note

The docs paragraph and the changelog line are well away from the lines #80 and #81 change, so it merges with either.

weight_box=(lo0, hi0, lo1, hi1) adds lo0 <= pi_0 <= hi0 and
lo1 <= pi_1 <= hi1 to the sorted-weight model, so the region of the two
heaviest weights can be covered by boxes solved one at a time. On two
3-state processes the solve at k = 5 over the whole region stopped after
three hours with its dual bound at 95% and 98% of the objective limit.
@Autoplectic
Autoplectic merged commit 69908a1 into main Nov 28, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant