Skip to content

Type nested constraints and cpm_array input#1023

Open
tias wants to merge 3 commits into
masterfrom
type_nested
Open

Type nested constraints and cpm_array input#1023
tias wants to merge 3 commits into
masterfrom
type_nested

Conversation

@tias

@tias tias commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

Fixes #1022.

Adds NestedBoolExprLike and uses it for Model.add, solver add/transform, and normalize. Types cpm_array as ListLike[ExprLike | Any] so nested/multi-dimensional python lists type-check.

@tias tias mentioned this pull request Jun 21, 2026
19 tasks
@tias tias requested a review from IgnaceBleukx June 22, 2026 13:59
@tias tias added this to the v0.20 milestone Jun 22, 2026
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.

cpm_array type should be recursive/n-dimensional

1 participant