Skip to content

fix: do not tear variables with positive priority in trivial_tearing!#74

Merged
AayushSabharwal merged 1 commit into
mainfrom
as/trivial-tearing-state-priorities
Apr 29, 2026
Merged

fix: do not tear variables with positive priority in trivial_tearing!#74
AayushSabharwal merged 1 commit into
mainfrom
as/trivial-tearing-state-priorities

Conversation

@AayushSabharwal
Copy link
Copy Markdown
Member

No description provided.

Comment thread src/tearing.jl
@AayushSabharwal AayushSabharwal force-pushed the as/trivial-tearing-state-priorities branch from 36bc3d5 to edca708 Compare April 29, 2026 12:40
@AayushSabharwal AayushSabharwal merged commit 0608038 into main Apr 29, 2026
19 of 23 checks passed
@AayushSabharwal AayushSabharwal deleted the as/trivial-tearing-state-priorities branch April 29, 2026 14:25
@oscardssmith
Copy link
Copy Markdown
Member

why does the sign of the priority matter?

@AayushSabharwal
Copy link
Copy Markdown
Member Author

The default priority is 0. Positive priority makes state selection prefer those variables, negative priorities have the opposite effect.

@oscardssmith
Copy link
Copy Markdown
Member

Got it. I had thought that priorities were only relative. Do we have docs for what priority numbers mean?

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.

3 participants