Skip to content

Array Model Output #2704

Closed
Closed
@bdrodes

Description

@bdrodes

I'm using the python api. I was previously on version 4.5.1.0.post2 and upgraded to version 4.8.6.0. The model output for arrays is drastically different, and I'm not sure how to interpret it. I'm used to seeing something of the form:

[a = [41 -> 100, else -> 100],
 k!0 = [41 -> 100, else -> 100]]

But now the output is:

In [6]: s.model()                                                                                                                                                                                                                           
Out[6]: [a = K(Int, 100)]

How do I get an output that has index/value pairs like the prior version?

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