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, I have error when running coord_to_kulfan.py, as shown below. Do you have a solution? Thanks.
Optimization Problem -- CST Parameterization
Objective Function: objfunc
Objectives:
Name Value Optimum
f 0 0
Variables (c - continuous, i - integer, d - discrete):
Name Type Value Lower Bound Upper Bound
x1 c -1.000000 -2.00e+00 2.00e+00
x2 c -1.000000 -2.00e+00 2.00e+00
x3 c -1.000000 -2.00e+00 2.00e+00
x4 c -1.000000 -2.00e+00 2.00e+00
x5 c 1.000000 -2.00e+00 2.00e+00
x6 c 1.000000 -2.00e+00 2.00e+00
x7 c 1.000000 -2.00e+00 2.00e+00
x8 c 1.000000 -2.00e+00 2.00e+00
Traceback (most recent call last):
File "coord_to_kulfan.py", line 75, in
slsqp(opt_prob, sens_type='FD')
File "/home/user/.local/lib/python2.7/site-packages/pyOpt/pyOpt_optimizer.py", line 160, in call
return self.solve(opt_problem, *args, **kwargs)
File "/home/user/.local/lib/python2.7/site-packages/pyOpt/pySLSQP/pySLSQP.py", line 374, in solve
gg = numpy.zeros([la], numpy.float)
TypeError: only integer scalar arrays can be converted to a scalar index
The text was updated successfully, but these errors were encountered:
Hi, I have error when running coord_to_kulfan.py, as shown below. Do you have a solution? Thanks.
Optimization Problem -- CST Parameterization
Traceback (most recent call last):
File "coord_to_kulfan.py", line 75, in
slsqp(opt_prob, sens_type='FD')
File "/home/user/.local/lib/python2.7/site-packages/pyOpt/pyOpt_optimizer.py", line 160, in call
return self.solve(opt_problem, *args, **kwargs)
File "/home/user/.local/lib/python2.7/site-packages/pyOpt/pySLSQP/pySLSQP.py", line 374, in solve
gg = numpy.zeros([la], numpy.float)
TypeError: only integer scalar arrays can be converted to a scalar index
The text was updated successfully, but these errors were encountered: