-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something wrong with Parameter types #218
Comments
To reproduce the problem one just need to add a parameter with type integer to the Generator, e.g.: var1 = VaryingParameter("x0", -50.0, 5.0)
var2 = VaryingParameter("x1", -5.0, 15.0)
obj = Objective("f", minimize=False)
p_int = Parameter('p_int', dtype=int)
gen = AxSingleFidelityGenerator(
varying_parameters=[var1, var2],
objectives=[obj],
analyzed_parameters=[p_int]
) This issue is difficult to deal with as the program will be hanging and won't give any error message. |
@delaossa I strongly suspect this is the same bug. Please see if fixed by by Libensemble/libensemble#1348 |
Thanks @shuds13!
which helps to find out where the actual problem is. The initialization of A fix to this issue is implemented here #231. |
Optimas was not running with a previously working case.
The only info that I found was in
libE_stats.txt
, which said something like:The program didn't really crash. It just stayed idle at this point.
After many tries, I figured out that the problem was caused by the definition of one parameter with type
int
in theanalyzed_parameters
list given toAxSingleFidelityGenerator
:Once I skip this parameter (or I change the type to
float
) everything works normally.The text was updated successfully, but these errors were encountered: