****optimize single#

Description#

single is not an optimizer, but rather a convenience to test, or re-analyze, a set of optimization parameters. It performs one single calculation of the cost function going through the principal routines of the optimizer. It is particularly meant to be used in conjunction with the *init_from_file command to choose a particular initial point. There are no parameters in the convergence section, and the reading ofthis algorithm will pass by entries there without an error message.

Example#

The following is an example where the variables clb are read in the ASCII file init. The values 1000 … 5 are in fact used for scaling only. Only one simulation is performed, and the objective function is calculated.

****optimize single
 ***files plast.sim
 ***shell
  Zrun -S -Q plast3 2>&1 > /dev/null
 ***values
  **init_from_file init
  cl  1000.  min 200. max 15000.
  cnl 140000.  min 50000. max 200000.
  dnl 100.   min 50.  max 2000.
  r0  260.   min 50.  max 500.
  q   200.   min 20.  max 500.
  b   5.     min 2.   max 20.
 ***convergence
  delta 0.005
  eps 1.e-08
  iter 100
 ***compare
    t_file_file plast3.test 1 3 data_plast3 1 3 weight 1.
****return