Skip to content

MDD global constraint with transitions #43

Description

@IgnaceBleukx

Hi,

I'm attempting to post an MDD constraint to the Choco solver from Python, but I would like to define the MDD using the transitions explicitly.
There are some MDD-related endpoints in the API, but I'm unsure on how to use them.

To post the MDD constraint, I need to use model.mddc, but that constraint takes as its second argument a MultiValueDecisionDiagram instance.
Now, to make the MDD object, I can use the Python object directly, but that only accepts tuples in the constructor.
I also found the create_mdd_transitions function, but that does not return a MultiValueDecisionDiagram instance, so as far as I understand, it cannot be used to post the MDD constraint itself?

Could you give some advice on how to proceed with this?

Kind regards,
Ignace

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