Can I use patternsearch to solve a system of non-smooth equations?

조회 수: 2 (최근 30일)
Matt Brisson
Matt Brisson 2019년 11월 8일
댓글: Matt Brisson 2019년 11월 21일
I have a system of 42 non-smooth equations with 42 unknowns. To find a numerical solution, I first used fsolve. But the results seem innacurate, probably because of the non-smoothness.
I would like to use patternsearch, from the global optimization toolbox, but the latter needs a scalar objective function if I am not mistaken.
How can I use patternsearch to solve my system of non-smooth equations?
Thanks

답변 (1개)

Alex Sha
Alex Sha 2019년 11월 19일
Ho, provide your 42 equations in details, so others may try to solve
  댓글 수: 1
Matt Brisson
Matt Brisson 2019년 11월 21일
Unfortunately, it's quite complicated because the 42 equations are the outcomes of several functions that have to be run by the solver for each new possible solution.
But would it be possible to use patternsearch to solve a system of equations?
Thanks a lot

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by