Skip to content

Enum constructors must have single identifier error for JSON parameters #441

Closed
@philzook58

Description

@philzook58

I'm trying to use json to load in parameters. The params file and model works in 2.4.3 but are now throwing the following error for 2.5.3. I haven't been able to figure out what this error means or how to fix it. Perhaps the format has changed?

https://gist.github.com/philzook58/93d2b7c53ba2ac5fbb0b7cb1e3c0b6c4

$ minizinc  resources/exparam.json resources/model.mzn 
unknown file:0.0:
MiniZinc: type error: enum constructors must have a single identifier as argument

Any help would be appreciated.

Thanks,
Phil

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions