guofei9987 / guofei9987/scikit-opt
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Open
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
File "C:\software\anconda\lib\site-packages\sko\GA.py", line 57, in
penalty_ueq = np.array([np.sum(np.abs([max(0, c_i(x)) for c_i in self.constraint_ueq])) for x in self.X])
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Contributor guide
Assessment
This issue has not been assessed yet.