Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'timeconstraint error when using Nminimize' topicStudent Support Forum > General > "timeconstraint error when using Nminimize"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
yehuda ben-shimol
09/29/09 09:25am

Hi,
you can change the default settings for the options of the function before using it with the function
SetOptions[]
TimeConstraint/.Options[Simplify]
returns 300
now
say that you want unlimited time, use
SetOptions[Simplify, TimeConstraint -> Infinity]

then

TimeConstraint /. Options[Simplify] // InputForm

returns
Infinity

of course you can set it to any other value such as 5000

The new value will be used for Simplify until you change it to some other value, or restart the kernel


yehuda

URL: ,

Subject (listing for 'timeconstraint error when using Nminimize')
Author Date Posted
timeconstraint error when using Nminimize Gaurav 09/24/09 2:19pm
Re: timeconstraint error when using Nminimize yehuda ben-s... 09/29/09 09:25am
Re: timeconstraint error when using Nminimize Amanda 08/06/13 12:43pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic