What good libraries are there for solving a system of non-linear equations in C++?

后端 未结 8 1492
情书的邮戳
情书的邮戳 2021-02-06 01:12

In a C++ application I\'m coding, I need to solve a system of non-linear equations (N equations, N unknowns).

The systems I\'m solving will be rather sm

8条回答
  •  粉色の甜心
    2021-02-06 01:57

    It depends on how non-linear the equations are. If they possess some "nice" properties...most obvious being positive-semi-definite matrix or convexity, there may be specialized algorithms available. I use IBM/ILOG CPLEX for most of my linear programming needs. Libraries are provided that can be pulled into C++ applications. Although I have not used their quadratic programming module, it is really the state-of-the-art in high horse-power linear and (well-behaved) non-linear programming.

提交回复
热议问题