Skip to main content

9 replies

Werner_E
25-Diamond I
February 4, 2018

Whats wrong with minimize?

Anyway, here is the simplest way of doing it with minerr (you'll have to chose Quasi-Newton as algorithm to get the very same results as with minimze):

Bild.PNG

BTW, it looks like you are using a 4K display like me. Pictures you grab from hat screen are far to large to be inserted here, making the threads hard to read. You should either resize the pics before posting or choose "medium" as size when you insert them in a thread.

Translate
Werner_E
25-Diamond I
February 4, 2018

Just gave it a try in Prime4

You have no choice of algorithm

Calculation with minerr takes "endless" time

Result is not as good as the one derived with minimize

 

Facit: Avoid using Prime whenever possible (and its always possible to avoid).

 

Bild2.PNG

Translate
24-Ruby IV
February 4, 2018

Thanks, Werner!

But I think about this method

MinErrTcheb.png

Translate
23-Emerald I
February 5, 2018

minimizeminimizeminerrminerr

Translate
24-Ruby IV
February 5, 2018

S=?

Translate
23-Emerald I
February 5, 2018

You defined S as the error function, so minimizing it gave your answers.

 

Find and Minerr act to satisfy constraints, so finding the minimum error for y(...) = h has the same effect.

 

Note that Minerr is basically Find where Find can't arrive at an acceptable solution.  It's always wise to find out how bad your "minimum error" is, it can be quite unacceptable.

Translate