Repository navigation
Conversation
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.
Degenerate simplex problems could repeat the same dictionary indefinitely. They could also retain zero artificial basic variables after phase one and later let them become positive, relaxing the original constraints. For example, with
x,y ∈ [1,2]andx+y ≤ 2, all four extrema must return the unique point(1,1).Validation: the original policy failed both cycle regressions at five seconds and selected the wrong basis in the phase-one policy regression. Before artificial-basis cleanup, the phase-one transition regressions returned
(2,0)instead of(1,1)and retained redundant artificial rows. The finalstack --no-system-ghc test --no-terminalpasses all 296 examples. Fourmolu 0.15.0.0,cabal check, Haddock, andgit diff --checkpass. The original cycle trace returns the exact optimum(a,b,c,d,z) = (0,1,0,1,1)without a repeated state.Integration uses a copied LPPaver2 at
8f9b913aaa3f4ef6b0e7aeeac32f4ad0f41e087dwith only this simplex dependency overridden. Its original pruning cycle completes with a nonempty box andz ∈ [0,1]; all 71 downstream examples pass, including the multivariate corner bound regression. This PR changes no LPPaver2 source or dependency pins. Local builds used Stack's GHC 9.6.7; the full compiler/platform matrix remains for CI.