cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Minimize function

Sunny
8-Gravel

Minimize function

Hi,

I am trying to find the local minimum of a function using Minimize function in Mathcad 15. I would like to use the Levenberg-Marquardt algorithm. However, I am unable to select this option from the menu, see the image below. 

Please let me know if it is poosible with Minimize function.

Sunny_0-1626915004727.png

 

Many thanks

S

 

3 REPLIES 3
LucMeekes
23-Emerald III
(To:Sunny)

From Mathcad (11) Help. I suspect Mathcad 15 will be little different:

"Conjugate gradient method for solving

The Conjugate Gradient method is one of the nonlinear methods to use with the find, minerr, minimize, and maximize functions.

"

Means that the Conjugate gradient method can be used for Minimize.

"Levenberg-Marquardt

The iterative Levenberg-Marquardt method can be used during the solving process called by find, or minerr.

"

Means that the LM method canNOT be used for Minimize.

 

Success!
Luc

Mathcad 15

 

Pic-1.png

 

Werner_E
25-Diamond I
(To:LucMeekes)

The Mathcad 15 help is indeed different and if you read the section describing the various algorithms you may get the impression that LM is available with minimize, too. But then the help section for minimize and maximize clearly states:

 

Werner_E_5-1626947224407.png

 

 

 
 

 

Announcements

Top Tags