Hi, I just installed the constrNMPy library and was trying out the examples. But I get the following error:
C:\Users\User\Desktop\constrNMPy-master\constrNMPy\examples\beales.py
Traceback (most recent call last):
File "C:\Users\User\Desktop\constrNMPy-master\constrNMPy\examples\beales.py", line 18, in
res=cNM.constrNM(cNM.test_funcs.beales,x0,LB,UB,full_output=True)
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\constrnmpy-0.1-py3.6.egg\constrNMPy\constrNMPy.py", line 60, in constrNM
if not ((x>LB[i] or LB[i]==None) and (x<UB[i] or UB[i]==None)):
TypeError: '<' not supported between instances of 'int' and 'NoneType'
What should I do?
Hi, I just installed the constrNMPy library and was trying out the examples. But I get the following error:
C:\Users\User\Desktop\constrNMPy-master\constrNMPy\examples\beales.py
Traceback (most recent call last):
File "C:\Users\User\Desktop\constrNMPy-master\constrNMPy\examples\beales.py", line 18, in
res=cNM.constrNM(cNM.test_funcs.beales,x0,LB,UB,full_output=True)
File "C:\Users\User\AppData\Local\Programs\Python\Python36\lib\site-packages\constrnmpy-0.1-py3.6.egg\constrNMPy\constrNMPy.py", line 60, in constrNM
if not ((x>LB[i] or LB[i]==None) and (x<UB[i] or UB[i]==None)):
TypeError: '<' not supported between instances of 'int' and 'NoneType'
What should I do?