feat(language): a special-ordered set names its dimension with along, the way math-spec 0.0.0-alpha.120 does - #1720
Merged
Merged
Conversation
… the way math-spec 0.0.0-alpha.120 does The pin moves to math-spec 0.0.0-alpha.120, whose sos block takes `along:` in place of `over:`. Both lanes read `SosDeclaration.along`, and the example, its page and the tests say `along:`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014PPGQSYbTiSuwDiAcpEGxF
Merging this PR will not alter performance
Comparing Footnotes
|
fluxopt-release-bot Bot
added a commit
that referenced
this pull request
Sep 23, 2026
🤖 I have created a release *beep* *boop* --- ## [0.0.1-alpha.351](v0.0.1-alpha.350...v0.0.1-alpha.351) (2026-09-23) ### Features * **language:** a special-ordered set names its dimension with along, the way math-spec 0.0.0-alpha.120 does ([#1720](#1720)) ([fdc47c5](fdc47c5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: fluxopt-release-bot[bot] <307443024+fluxopt-release-bot[bot]@users.noreply.github.com>
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.
Note
The following content was generated by AI.
The pin moves from math-spec 0.0.0-alpha.119 to 0.0.0-alpha.120, the latest tag. An
sos:block now saysalong:where it used to sayover:. A model that still saysover:is refused at load, so this is afeatand not abuild.What changed, what was verified, what was not
The break. energy-models/mathspec#646 renames
SosBlock.overandSosDeclaration.overtoalong. lpspec used the field in two places, and both now read.along:src/lpspec/linopy/builder.py:sos_dim=src/lpspec/relational/engines/polars/assembly.py:_build_sosThe tree follows.
examples/piecewise_conversion.yamland its pagedocs/examples/piecewise_conversion.mdnow sayalong: bpin theirsos:block.piecewise:blocks keepover:because math-spec did not rename that key. The tests intest_sos.py,test_check_sink.pyandtest_piecewise.pynow spell the keyalong. The refusal intest_sos.pynow quotes math-spec's new message (along 'other' is not a dim…). No test was removed, so no coverage moved.The lock. I regenerated
uv.lockwithuv lock, which resolves to086ff9a.Gates. pixi could not be installed in this session because the proxy refused pixi.sh. I ran the
checktask's gates through uv against the locked environment instead:ruff check .passed.ruff format --check .passed.pyrefly checkpassed on both configs.pytest -n autogave 3797 passed and 10 failed. All 10 failures are[gurobi]/[xpress]cases intest_diagnostics.pyandtest_relational.py. They fail the same way on the base commit, because neither solver is installed here.I did not run
test-bench, becausebench/is untouched.🤖 Generated with Claude Code
https://claude.ai/code/session_014PPGQSYbTiSuwDiAcpEGxF
Generated by Claude Code