1 Pages (5 items)
Is Minimze Pregnant - Is Minimize Pregnant - Messages
#1 Posted: 5/12/2016 12:45:43 AM
#2 Posted: 5/12/2016 11:49:34 AM
Ah, yes... Minimize/maximize are part of the NonlinearSolvers plugin. Before implement them or add new algorithms, I want to improve several things in the plugin.
As for now you can use the following:
GoldenSectionSearch.sm (21 KiB) downloaded 283 time(s).
GradientDescent.sm (16 KiB) downloaded 245 time(s).
NCGM.sm (19 KiB) downloaded 223 time(s).
LevenbergMarquardt.sm (45 KiB) downloaded 260 time(s).
NewtonMethod.sm (18 KiB) downloaded 288 time(s).
NelderMead.sm (33 KiB) downloaded 236 time(s).
GaussNewton.sm (20 KiB) downloaded 262 time(s).
I see that Smath 0.97.5346 doesn't prompt the plugin requirement form --> before opening the worksheets, go in the Tools > Plugins... > Online Gallery and download the latest update (I've fixed a small issue).
As for now you can use the following:
GoldenSectionSearch.sm (21 KiB) downloaded 283 time(s).
GradientDescent.sm (16 KiB) downloaded 245 time(s).
NCGM.sm (19 KiB) downloaded 223 time(s).
LevenbergMarquardt.sm (45 KiB) downloaded 260 time(s).
NewtonMethod.sm (18 KiB) downloaded 288 time(s).
NelderMead.sm (33 KiB) downloaded 236 time(s).
GaussNewton.sm (20 KiB) downloaded 262 time(s).
I see that Smath 0.97.5346 doesn't prompt the plugin requirement form --> before opening the worksheets, go in the Tools > Plugins... > Online Gallery and download the latest update (I've fixed a small issue).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 5/14/2016 12:28:06 AM
Thanks Davide,
"GoldenSectionSearch" works fine. I have added the Mathcad 11 equivalent,
just a bit more compacted. The Mathcad "While" loop is self indexing but
NOT attempted to code, because your coding is more complete "target" min/max.
In the attached work sheet, I give the solve block [much faster].
Nice to know how "GoldenSectionSearch" works under the hood.
I will visit more from your work sheets.
Interesting the implicit coding:

Cheers, Jean
Golden ratio.sm (63 KiB) downloaded 94 time(s).
"GoldenSectionSearch" works fine. I have added the Mathcad 11 equivalent,
just a bit more compacted. The Mathcad "While" loop is self indexing but
NOT attempted to code, because your coding is more complete "target" min/max.
In the attached work sheet, I give the solve block [much faster].
Nice to know how "GoldenSectionSearch" works under the hood.
I will visit more from your work sheets.
Interesting the implicit coding:
Cheers, Jean
Golden ratio.sm (63 KiB) downloaded 94 time(s).
#4 Posted: 5/14/2016 7:11:34 AM
Very nice Jean 
As for the truth it is possible to code Min_Gr like in mathcad; you need SMath 0.98, since previously the parsing order of assignments inside matrices was made in reverse order (that makes it possible to code it even in SMath 0.97.*, but in a cucumbersome way)
Cloud: http://smath.info/cloud/worksheet/o4UBkhH4


As for the truth it is possible to code Min_Gr like in mathcad; you need SMath 0.98, since previously the parsing order of assignments inside matrices was made in reverse order (that makes it possible to code it even in SMath 0.97.*, but in a cucumbersome way)
Cloud: http://smath.info/cloud/worksheet/o4UBkhH4
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Posted: 5/15/2016 11:57:36 AM
WroteVery nice Jean
As for the truth it is possible to code Min_Gr like in mathcad; you need SMath 0.98, since previously the parsing order of assignments inside matrices was made in reverse order (that makes it possible to code it even in SMath 0.97.*, but in a cucumbersome way)
Yes Davide !
Can't be more right. Smath official 5346 does not digets the Mathcad code as you have
implemented. It made me shovel the clouds for a while ! While loop !
Just between you and me, Andrey has received my special "birthday card"
Jean
1 users liked this post
Davide Carpi 5/16/2016 4:50:00 AM
1 Pages (5 items)
-
New Posts
-
No New Posts