Skip to content

[Bug] extract_solution produces invalid source config for ThreePartition → SequencingToMinimizeWeightedTardiness #1000

@zazabap

Description

@zazabap

Summary

The ILP solver finds a valid target solution for SequencingToMinimizeWeightedTardiness (Or(true)), but extract_solution decodes the Lehmer code back to an invalid source config.

Reproduction

pred create --example ThreePartition -o tp.json
pred reduce tp.json --to SequencingToMinimizeWeightedTardiness -o bundle.json
pred solve bundle.json

Result: Target evaluates to Or(true), but extracted source config [1,0,0,1,1,1] evaluates to Or(false).

The correct source config [0,0,0,1,1,1] evaluates to Or(true) — the Lehmer code decoding is producing wrong group assignments.

Origin

Reduction implemented in PR #972.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions