home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
T.C. 1,001 Programme der Spitzenklasse
/
T._C._1001_Programme_der_Spitzenklasse.iso
/
richter
/
8547
/
8547.mhs
/
RICHTER.DTP
/
MERCURY
/
ROSEN.EKA
< prev
next >
Wrap
Text File
|
1992-03-24
|
303b
|
15 lines
; This demonstrates minimizing a simple function with an initialization.
; It is the Rosenbrock function, a tricky case for function minimizers.
MINIMIZE F
F = A + B + (X - Z)^2 + 100000 (Y - X^2)^2
Z = 2.34
A = 4
B = 3
X := -1.2
Y := 1
{ Exact solution is x = 2.34, F = 7. }