views:

258

answers:

3

I am looking for a C++ library, and I am dealing with convex objective and constraint functions.

+1  A: 

From what I know, the CPLEX solver is the best convex optimization solver. Its the state of the art in LP solvers. Does convex optimization really well. While looking for it, I see that its IBM's software now. You can find it here : http://www-01.ibm.com/software/integration/optimization/cplex/

Ritesh M Nayak
You can find other open source solvers and their performance benchmarks here: http://plato.asu.edu/ftp/lpfree.html Also, dont forget to check out http://code.msdn.microsoft.com/solverfoundation
Ritesh M Nayak
Linear implies convex, not the other way around.
Benoît
+1  A: 

I am guessing your problem is non-linear. Where i work, we use SNOPT, Ipopt and another proprietary solver (not for sale). We have also tried and heard good things about Knitro.

As long as your problem is convex, all these solvers work well.

They all have their own API, but they all ask for the same information : values, first and second derivatives.

Benoît
A: 

Assuming your problems are nonlinear, you can use free and open-sourced OPT++, available from Sandia Lab. I have used it in one project in C++ and it was easy to use and worked well.

Samik R.