Hello,
I am using the BLEIC optimizer in C# (.NET 4.5) of ALGLIB 3.8.0 as follows:
Code:
alglib.minbleicstate state;
alglib.minbleicreport rep;
var epsg = 0.0000001;
var epsf = 0.0;
var epsx = 0.0;
var maxits = 0;
alglib.minbleiccreate(x, out state);
alglib.minbleicsetbc(state, bndl, bndu);
alglib.minbleicsetlc(state, c, ct);
alglib.minbleicsetcond(state, epsg, epsf, epsx, maxits);
alglib.minbleicoptimize(state, OptimizationFunction, null, null);
alglib.minbleicresults(state, out x, out rep);
The constraints are all linear and the gradients are the same at each iteration.
It generally works great, but alglib.minbleicoptimize randomly hangs (I have no other choice but to forcibly close the program, upon restarting it may or may not work), with exactly the same input data. Is there any random element in the algorithm that could cause this? Should I use a different stopping criterion?
Thanks,
Erwin