fnlog10.gms : Test correctness of log10 intrinsic

Description

define some sets, etc.


Small Model of Type : GAMS


Category : GAMS Test library


Main file : fnlog10.gms   includes :   fnset_x.inc [htmlfntest_x.inc [html]

$title Test correctness of log10 intrinsic (FNLOG10,SEQ=154)

* define some sets, etc.
$include fnset_x.inc

$gdxIn fnlog10
$load aeps reps relToInput T data
$gdxIn

loop {T,
  data(T,  'f')    = log10.value (data(T,'x'));
  data(T, 'fx')    = log10.grad  (data(T,'x'));
  data(T,'fxx')    = log10.hess  (data(T,'x'));
  data(T, 'rc')    = mathlastrc;
  data(T, 'ec')    = mathlastec;
};

$include fntest_x.inc