Statistics
| Revision:

root / trunk / tests / gtests / scalefactor.tpl @ 1490

History | View | Annotate | Download (303 Bytes)

1 1490 johnoel
DATA_SECTION
2
PARAMETER_SECTION
3
  init_vector x(1,2)
4
 !! x.set_scalefactor(100.);
5
  init_bounded_vector y(1,2,-5.0,5.0)
6
 !! y.set_scalefactor(50.);
7
  random_effects_vector u(1,2);
8
  objective_function_value f;
9
PROCEDURE_SECTION
10
  f=norm2(x-2.0)+norm2(u-1.0)+norm2(y-2.0)+norm2(x-u)+norm2(y-u);