Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

string constraints broken in latest 2.3.1 #101

Closed
Assignees
fjwillemsen
Labels
@plgruener

Description

@plgruener

Tried the example in the README, but it failed and only gave an empty solution when writing the constraint as string ("a*2==b"). The same example with a lambda constraint worked fine.

Further investigation reveals that, after the getSolutions() call, variablea just loses its domain, that isproblem._variables givesa=[].

Affected versions: 2.3.0 and 2.3.1 from PyPI.
I downgraded to version 2.2.3 and there the string constraint example worked, too.

Note: you should really write tests for the code in the README, too, to ensure it works.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp