I am trying to find optimisation library written in Java, specifically, non-linear optimisation with constraints. I did not find anything suitable that is available for free. So, I am planning to have a crack at GSL. I am a complete rookie at this, and I am not even sure how well the JNI will work for GSL. I just wanted to see if anybody can advice a Java based alternative to GSL.