Skip to content

Some shadow variables are null after solving when using DSV. #1881

@kentbill

Description

@kentbill

Describe the bug
Using the same code and data, with version 1.25.0, get a correct results; But when I updated the version to 1.27.0, some values of the shadow variables in the output were null.

Expected behavior
The same code, data, and configuration should result in the same output

Actual behavior
But after upgrading to 1.27.0 from 1.25.0, the result is incorrect, with some shadow variables are null.

To Reproduce
The following simple program code can be run directly. It outputs a result with a null value. When you change it to version 1.25.0, it will get a correct result.
https://github.com/kentbill/dsv-testing.git

Environment

Timefold Solver Version or Git ref: 1.27.0

**Output of java -version: 17.0.5

Output of uname -a or ver:

Additional information

Provide any and all other information which might be relevant to the issue.

Image

Metadata

Metadata

Labels

process/needs triageRequires initial assessment of validity, priority etc.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions