missing a solution
BjornEnemark opened this issue · 4 comments
BjornEnemark commented
With the parametres below the twin gives only one solution, but if the twin is entered directly Popeye correctly gives two solutions
Anfang
Forderung H#2
Option Intelligent Varianten MaxLoesungen 8
Steine
Weiss Ka1 Sd5 Se4
Schwarz Kd4 Df8 Lh6 Se5 Bc3 Bc5 Bc6 Be3 Be7 Bf3 Bf7
Zwilling Hinzufuegen Neutral Te6
Ende
JoshuaGreen commented
When I run Popeye in debug mode on a file containing that problem I see an assert
ion failure in optimisations/intelligent/mate/goalreachable_guard.c
:
py: optimisations/intelligent/mate/goalreachable_guard.c:163: Assertion `MovesRequired[trait[nbply]][nbply]+time_now>=time_before' failed.
Aborted (core dumped)
thomas-maeder commented
- Intelligent mode doesn't work with neutral pieces. And yes, Popeye should detect this and produce a readable error message.
- What solution should be found for twin a)?
BjornEnemark commented
- the nTe6 should have been at f6 to illustrate the problem
- it is well known that Popeye does not work well with fairy problems
- the input to Popeye was created by Teddy that will use Option intelligent whereever possible if that setting is set
- Teddy did not recognize that the twin turned this into a fairy problem (for the next release)
- no solution to twin a), just there to cause the problem
- of course a warning would have been nice
Without intelligent Popeye works well
thomas-maeder commented
it is well known that Popeye does not work well with fairy problems
Wow, that is disappointing. I always thought that Popeye works particularly well with fairy problems.