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

2 Ansichten (letzte 30 Tage)
Matt Brisson
Matt Brisson am 8 Nov. 2019
Kommentiert: Matt Brisson am 21 Nov. 2019
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

Antworten (1)

Alex Sha
Alex Sha am 19 Nov. 2019
Ho, provide your 42 equations in details, so others may try to solve
  1 Kommentar
Matt Brisson
Matt Brisson am 21 Nov. 2019
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Systems of Nonlinear Equations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by