Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to print a poset from Posets(15)

I am interested in finding posets with some specific property. To do that, I am running the following loop:

P = Posets(15)
For p in P:
    if "xyz" condition holds:
        print(p)
        break
    else:
        continue

I have observed that my code is stuck on P[28] for hours. Note that it went for P[0] to P[27] within few seconds. It is working for smaller values of $n$, i.e., for $n=5,6$. I have also tried to plot P[28] seperately but it is just processing.

Can anyone please guide my regarding this?

Unable to print a poset from Posets(15)

I am interested in finding posets with some specific property. To do that, I am running the following loop:

P = Posets(15)
For p in P:
    if "xyz" condition holds:
        print(p)
        break
    else:
        continue

I have observed that my code is stuck on P[28] for hours. Note that it went for P[0] to P[27] within few seconds. It is working for smaller values of $n$, i.e., for $n=5,6$. I have also tried to plot P[28] seperately but it is just processing.

Can anyone please guide my help me regarding this? this?