Skip to content

Add solver for mintonette - #203

Merged
semiexp merged 2 commits into
semiexp:mainfrom
ReverM:mintonette
Mar 12, 2026
Merged

Add solver for mintonette#203
semiexp merged 2 commits into
semiexp:mainfrom
ReverM:mintonette

Conversation

@ReverM

@ReverM ReverM commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines +59 to +64
if ni > -1 {
solver.add_expr((blocks[i].clone() & is_turn).count_true().eq(ni));
}
if nj > -1 {
solver.add_expr((blocks[j].clone() & is_turn).count_true().eq(nj));
}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess these constraints are added too many times because they are in a doubly nested loop

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah that's true. I had copied part of what araf did. I shall remove the second one then

@semiexp
semiexp merged commit 3a43cc0 into semiexp:main Mar 12, 2026
4 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.

2 participants