recruit-communications / pyqubo

Python DSL for constructing QUBOs from mathematical expressions.
https://pyqubo.readthedocs.io/
Apache License 2.0
174 stars 44 forks source link

segmentation fault #159

Open haoqian-hao opened 2 years ago

haoqian-hao commented 2 years ago

when I was trying to create a large binary matrix (~3000 * 4), it threw the segmentation fault after the equation.compile,

Screen Shot 2022-05-30 at 3 24 50 pm

the original resource is https://github.com/iQuHACK/2021_Surfers/blob/main/kmeans.py

error: zsh: segmentation fault python3 main.py

I did lots of searches, I set maximum recursion by using sys.setrecursionlimit but it does not work.

Thank you in advance.

kotarotanahashi commented 2 years ago

@haoqian-hao Thank you for reporting the issue! We will investigate it.