Repository navigation
Global bounds: chords entropy model, bound tightening off by default - #90
Open
Autoplectic wants to merge 1 commit into
Open
Autoplectic wants to merge 1 commit into
Autoplectic wants to merge 1 commit into
Conversation
generator_global_bound and separating_global_bound take entropy="chords": each entropy term is replaced by its chords, an SOS2 constraint (Beale and Tomlin 1970), refined at the minimizer with warm starts until the chords meet the entropy to 1e-9, so the dual bound holds for the entropy itself. SCIP takes several times longer on the chords, so the default stays SCIP's entropy expression, now with optimization-based bound tightening off: on that expression it cut off the optimum of a 3 x 3 joint at k = 3, depending on the order in which the model's variables are created. The second opinion of separating_decomposition is now the chords with presolve off.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
generator_global_boundandseparating_global_boundtakeentropy="chords". Each-w log2 wterm is replaced by its chords on a grid of masses, an SOS2 constraint (Beale & Tomlin 1970), and the model is solved again with the minimizer's weights added to the grids, warm-started from the last round, until the chords meet the entropy to1e-9. The chords lie below the entropy, so the dual bound and an "infeasible" verdict hold for the entropy itself, andslackis 0. Results carryentropy,roundsandchord_gap.entropy="log"), now withobbt=False. On that expression, OBBT cut off the optimum of a 3 x 3 joint atk = 3("optimal" 1.447803 against a feasible 1.343763). Whether it does depends on the order in which the model's variables are created, so the cut-off can come and go with unrelated changes.separating_decompositionis nowentropy="chords", presolve=False(it waspresolve=False, obbt=False).Validation
K(P)on 29 small processes, 240 s per run. The chords never rose above a known generator's entropy by more than6e-7, which is SCIP's feasibility tolerance. They were at least 3.6 times slower than the entropy expression with OBBT wherever both finished. Under the same load, on 9 closable brackets:k = 5on 3 joints: the chords took 3–15 times as long, and all three settings agreed to1e-5.Test plan
pytest: 3006 passed, 9 skippedruff checkandruff format --check