[
Home
|
Support
|
Sales
|
Solvers
|
Documentation
|
Model Libraries
|
Search
|
Contact Us
]
fnlog.gms : Test correctness of log intrinsic
define some sets, etc.
Small Model of Type: GAMS Includes:
fnset_x.inc
fntest_x.inc
$title Test correctness of log intrinsic (FNLOG,SEQ=152) * define some sets, etc. $include fnset_x.inc $gdxin fnlog $load aeps reps relToInput T data $gdxin loop {T, data(T, 'f') = log.value (data(T,'x')); data(T, 'fx') = log.grad (data(T,'x')); data(T,'fxx') = log.hess (data(T,'x')); data(T, 'rc') = mathlastrc; data(T, 'ec') = mathlastec; }; $include fntest_x.inc