Skip to content

Panic due to overflow when using unbounded integers #330

@JulGvoz

Description

@JulGvoz

Link to .fzn file: https://gist.github.com/JulGvoz/2e2602562d56495775b12ec8bad689ca

When running as MZN_SOLVER_PATH=path/to/Pumpkin minizinc --time-limit 10000 -s --solver pumpkin input.fzn

The solving process crashes with:

% Generated FlatZinc statistics:
%%%mzn-stat: paths=0
%%%mzn-stat: flatBoolVars=901
%%%mzn-stat: flatIntVars=603
%%%mzn-stat: flatBoolConstraints=1451
%%%mzn-stat: flatIntConstraints=1103
%%%mzn-stat: evaluatedHalfReifiedConstraints=480
%%%mzn-stat: method="minimize"
%%%mzn-stat: flatTime=0.0454977
%%%mzn-stat-end

thread 'main' panicked at pumpkin-crates/core/src/engine/conflict_analysis/conflict_analysis_context.rs:139:18:
all predicates in the conflict nogood should be assigned to true
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
=====ERROR=====
%%%mzn-stat: nSolutions=0
%%%mzn-stat-end

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions