Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: question about fixing the time management of movei

Author: Uri Blass

Date: 10:34:52 07/26/04

Go up one level in this thread


On July 26, 2004 at 13:19:37, J. Wesley Cleveland wrote:

>On July 26, 2004 at 11:10:09, Robert Hyatt wrote:
>
>>On July 26, 2004 at 07:39:42, Bas Hamstra wrote:
>>
>>>>>I basically try to calculate number of expected moves to finish the game or >>next time control and use this information to decide about target time and I
>>>>>also use the time of the last iteration to decide if to do another iteration
>>>>>usually try to finish iteration in most cases with the idea that after
>>>>> finishing
>>>>>an iteration there is a smaller chance to change my mind when the main
>>>>> exception
>>>>>are cases when the program pondered enough time).
>>>>
>>>>Bad idea.  Start the next iteration even if you don't think you will have time
>>>>to finish it.  You might fail low.  Wouldn't that be nice to know?  :)
>>>
>>>On the other hand there, have you ever summed up the total time that is wasted
>>>at the first move?
>>
>>Sure.  Near zero.  Because of the transposition table.  Interrupt the search
>>after 30 seconds, make a move, and re-start the search and it will jump back
>>almost to the same point where it was interrupted...
>>
>>
>>> Suppose your target time is 60 seconds and you have just
>>>finished an iteration, which took 50 seconds. There won't be enough time to
>>>calculate the first move of the next iteration, so you might as well save 10
>>>seconds.
>>>
>>
>>But there is plenty of time for the first move to fail low, which will then take
>>you into an over-time phase of your time management hopefully.
>>
>
>Would it make sense to stop the search after the first move if it does not fail
>low and there is not enough time to finish the ply? Or stop the search if the
>first move fails high without resolving the fail-high and there is not enough
>time to finish the ply?

I do not think that it make sense.
After finishing the first move there is a chance that another move is going to
fail high so it may be better to use more time to complete the iteration because
in case that the program does not change it's mind searching the first move is
often more expensive than searching the other moves.

If there is not enough time to finish the ply then the right time to detect it
it is probably during searching the first move when you see that it does not
fail low after a short time.

Uri



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.