Is Minimze Pregnant

Is Minimze Pregnant - Is Minimize Pregnant - Сообщения

#1 Опубликовано: 12.05.2016 00:45:43
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Minimize is really missing in Smath. In the mean time,
Genfit is the alternative to a built-in "Minimize".

Jean

Forum Minimize.gif
#2 Опубликовано: 12.05.2016 11:49:34
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

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 КиБ) скачан 228 раз(а).
GradientDescent.sm (16 КиБ) скачан 190 раз(а).
NCGM.sm (19 КиБ) скачан 169 раз(а).
LevenbergMarquardt.sm (45 КиБ) скачан 202 раз(а).
NewtonMethod.sm (18 КиБ) скачан 234 раз(а).
NelderMead.sm (33 КиБ) скачан 184 раз(а).
GaussNewton.sm (20 КиБ) скачан 199 раз(а).


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 Опубликовано: 14.05.2016 00:28:06
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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:

GoldenSearch.gif


Cheers, Jean

Golden ratio.sm (63 КиБ) скачан 47 раз(а).

#4 Опубликовано: 14.05.2016 07:11:34
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

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

2016-05-14 12_09_34-Min_Gr - SMath Studio in SMath Cloud.png

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Опубликовано: 15.05.2016 11:57:36
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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)



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 пользователям понравился этот пост
Davide Carpi 16.05.2016 04:50:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений