You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, PyGCGOpt support team. I am testing PyGCGOpt. But I encountered the following issue:
Exception has occurred: AttributeError
'pygcgopt.gcg.PartialDecomposition' object has no attribute 'maxForWhiteScore'
File "C:\Users~\Desktop\PyGCGOpt-master\src\pygcgopt\decomposition.pxi", line 1433, in pygcgopt.gcg.PartialDecomposition.repr
return f"<PartialDecomposition: nBlocks={self.getNBlocks()}, nMasterConss={self.getNMasterconss()}, nMasterVars={self.getNMastervars()}, nLinkingVars={self.getNLinkingvars()}, maxForWhiteScore={self.maxForWhiteScore()}>"
File "C:\Users~\Desktop\PyGCGOpt-master\PCG_test.py", line 72, in
print(decomps)
AttributeError: 'pygcgopt.gcg.PartialDecomposition' object has no attribute 'maxForWhiteScore'
I have checked the file decomposition.pxi and found that there is no variable or method called maxForWhiteScore. However, there is a similar method called self.max_for_white_score().
So, how should I fix this bug?
The text was updated successfully, but these errors were encountered:
Hi, PyGCGOpt support team. I am testing PyGCGOpt. But I encountered the following issue:
Exception has occurred: AttributeError
'pygcgopt.gcg.PartialDecomposition' object has no attribute 'maxForWhiteScore'
File "C:\Users~\Desktop\PyGCGOpt-master\src\pygcgopt\decomposition.pxi", line 1433, in pygcgopt.gcg.PartialDecomposition.repr
return f"<PartialDecomposition: nBlocks={self.getNBlocks()}, nMasterConss={self.getNMasterconss()}, nMasterVars={self.getNMastervars()}, nLinkingVars={self.getNLinkingvars()}, maxForWhiteScore={self.maxForWhiteScore()}>"
File "C:\Users~\Desktop\PyGCGOpt-master\PCG_test.py", line 72, in
print(decomps)
AttributeError: 'pygcgopt.gcg.PartialDecomposition' object has no attribute 'maxForWhiteScore'
I have checked the file decomposition.pxi and found that there is no variable or method called maxForWhiteScore. However, there is a similar method called self.max_for_white_score().
So, how should I fix this bug?
The text was updated successfully, but these errors were encountered: