1
$\begingroup$

How can I set the Infinity time constraint in EulerEquations? Actually, there is an error I don't have any idea about. Can you help me, please?

Time spent on a transformation exceeded 300 seconds, and the transformation was aborted. Increasing the value of TimeConstraint option may improve the result of simplification.

$\endgroup$
  • 1
    $\begingroup$ Post the code (in copy and paste-able form) that you are using. $\endgroup$ – Bob Hanlon May 16 at 15:08
  • $\begingroup$ @BobHanlon: Actually the code is very complicated and cannot be copied here $\endgroup$ – Perfect Fluid May 17 at 9:37
5
$\begingroup$

Sometimes a function has a Method option that can be used to modify the options used by an internal function. This is not true for EulerEquations. So, instead you can use Internal`InheritedBlock to do this:

Internal`InheritedBlock[{Simplify},
    SetOptions[Simplify, TimeConstraint -> Infinity];
    EulerEquations[..]
]
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.