[Nonlinear solver] Vectorize Operator and Symbolic Optimization in SS 6179

[Nonlinear solver] Vectorize Operator and Symbolic Optimization in SS 6179 - Mensajes

#1 Publicado: 3/2/2017 5:34:27
NDTM Amarasekera

NDTM Amarasekera

130 me gusta en 352 mensajes.

Grupo: User

The attached image shows different results in symbolic optimization in using Vetorize Operator, and
consequently generates an error when using "FindRoot" function in the attached worksheet.

When Equations 1B & 2B are disabled and 1A & 2A enabled, "FindRoot" gives the result.

Vectorize error - Symbolic Optimization.sm (189,05 KiB) descargado 1347 vez(es).

Vectorize Error-1.jpg
Vectorize Error-2.jpg
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#2 Publicado: 3/2/2017 6:07:35
sergio

sergio

127 me gusta en 342 mensajes.

Grupo: User

if you initialize the vector Q, then it works

Q:mat(el(Q,1),el(Q,2),el(Q,3),el(Q,4),4,1)

sergio
A 2 usuarios les gustó este mensaje
Davide Carpi 3/2/2017 7:26:00, NDTM Amarasekera 3/2/2017 11:20:00
#3 Publicado: 3/2/2017 6:42:52
NDTM Amarasekera

NDTM Amarasekera

130 me gusta en 352 mensajes.

Grupo: User

Thank you! It works.
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#4 Publicado: 3/2/2017 12:11:43
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Your red vectorise is just a display, i.e: not an assignment.
Unlike the "red vectorise", the "blue vectorise" ASSIGNS the
vector required by FindRoots, thus immaterial wrt Symbolic/Numeric/NONE

The suggestion to initialise is not technical to me [just a comment].
It simply confuses matters. There is a long route to explore/clarify
the Smath Vectorise operator
  • Nuevos mensajes
  • Sin mensajes nuevos