User Tools

Site Tools


gams:obtain_the_analytical_derivatives_of_the_objective_function_and_the_constraints

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gams:obtain_the_analytical_derivatives_of_the_objective_function_and_the_constraints [2017/09/02 19:04]
support
gams:obtain_the_analytical_derivatives_of_the_objective_function_and_the_constraints [2017/09/02 19:04] (current)
support
Line 5: Line 5:
       * The symbol ':'​ is used to separate the element position specification from the function argument list.       * The symbol ':'​ is used to separate the element position specification from the function argument list.
       * For example, the following will return the second derivative for the second and fourth argument, where 1,2,3,4,5 are the normal function arguments: ​ ''​h = EDist.hess(2:​4:​1,​2,​3,​4,​5);''​ If the needed element position index is one, we can drop the argument:''​g = exp.grad(1:​5);''​ or ''​g = exp.grad(5);'',​ ''​h = log.hess(1:​1:​3)''​ or ''​h = log.hess(3);'',​ and ''​hess(i,​j) = betareg.hess(ord(i):​ord(j):​expr1,​expr2,​expr3);​ ''​       * For example, the following will return the second derivative for the second and fourth argument, where 1,2,3,4,5 are the normal function arguments: ​ ''​h = EDist.hess(2:​4:​1,​2,​3,​4,​5);''​ If the needed element position index is one, we can drop the argument:''​g = exp.grad(1:​5);''​ or ''​g = exp.grad(5);'',​ ''​h = log.hess(1:​1:​3)''​ or ''​h = log.hess(3);'',​ and ''​hess(i,​j) = betareg.hess(ord(i):​ord(j):​expr1,​expr2,​expr3);​ ''​
-    * Distribution 22.4 introduced the [[http://​www.gams.com/​help/topic/gams.doc/​solvers/​convert/​index.html|CONVERT]] option ''​Jacobian''​ to write the [[gams:​get_the_jacobian_of_my_model|Jacobian to a GDX file]]. ​+    * Distribution 22.4 introduced the [[http://​www.gams.com/​latest/docs/S_CONVERT.html|CONVERT]] option ''​Jacobian''​ to write the [[gams:​get_the_jacobian_of_my_model|Jacobian to a GDX file]]. ​
     * Distribution 22.9 introduced the [[http://​www.gams.com/​latest/​docs/​S_CONVERT.html|CONVERT]] option ''​Hessian''​ to write the Hessian to a GDX file.     * Distribution 22.9 introduced the [[http://​www.gams.com/​latest/​docs/​S_CONVERT.html|CONVERT]] option ''​Hessian''​ to write the Hessian to a GDX file.
IMPRESSUM / LEGAL NOTICEPRIVACY POLICY gams/obtain_the_analytical_derivatives_of_the_objective_function_and_the_constraints.txt ยท Last modified: 2017/09/02 19:04 by support