Description
define some sets, etc.
Small Model of Type : GAMS
Category : GAMS Test library
Main file : fnsin.gms includes : fnset_x.inc [html] fntest_x.inc [html]
$title 'Test correctness of sin intrinsic' (FNSIN,SEQ=157)
* define some sets, etc.
$include fnset_x.inc
$gdxIn fnsin
$load aeps reps relToInput T data
$gdxIn
loop {T,
data(T, 'f') = sin.value (data(T,'x'));
data(T, 'fx') = sin.grad (data(T,'x'));
data(T,'fxx') = sin.hess (data(T,'x'));
data(T, 'rc') = mathlastrc;
data(T, 'ec') = mathlastec;
};
$include fntest_x.inc