03-07-2013 10:20 AM - edited 03-07-2013 10:21 AM
Dear dev and users,
the "constrained nonlinear optimization" in my program won't terminate. Limiting the calculation time (<1s) or the number of iterations (<300) or other "stopping criteria" does not help. The process hangs on for tens minutes (I kill it finally). The input data are nothing special compared to the other hundreds previously processed successfully. I processed my data set (600 data) and it hanged twice at different data. What other information shall I supply, so I could get some help from you, please?
Thank you for listening.
Cheers,
M
03-07-2013 11:07 AM
The code might be hanging inside the model or in some other subVI.
Can you provide a bit more detail on the type of the polymorphic instance and model type you are using?
Would it be possible for you to attach a small sample VI containing data that shows the problem?
03-12-2013 10:56 AM
08-12-2015 09:41 AM
Hello,
The hanging behavior of the Unconstrained Nonlinear Optimization VI was tracked by CAR 401689 has been fixed in LabVIEW 2015. Under certain conditions we used to get into an infinite loop in the VI, as you had seen in your program. There are now good checks in place to make sure that in the case of infinite values we stop the function and return an error.