Hipparchus-Math / hipparchus

An efficient, general-purpose mathematics components library in the Java programming language
Apache License 2.0
143 stars 42 forks source link

MaxIterations for SQPOptimizerGM and ADMMQPOptimizer #356

Closed Aschraf closed 2 weeks ago

Aschraf commented 2 weeks ago

For some possible unsolvable optimizations, SQPOptimizerGM gets stuck until it or the underlying ADMMQPOptimizer finishes Integer.MAX_VALUE iterations.

Is there a reason SQPOptimizerGM doesn't support and use max iterations (instead of default)?

Aschraf commented 2 weeks ago

Never mind it's MaxIter in optimize