Dear users,

I am trying to solve a optimization problem. I found a "Hello World"
example for Commons Math 2. But, I would like to use Commons Math 3.2
and I couldn't find any example on how to use this part of the code:

PointValuePair solution = null;
SimplexSolver solver = new SimplexSolver();
solution = solver.optimize(optData);

Specificaly, I don't know what is optData and where I put the
constraints. I would appreciate if someone indicate me one "Hello
World" example of how to use the org.apache.commons.math3.optim
library

Best wishes!

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to