Back to Deal Top Page

Double Dummy Solver

Deal now has a built-in double dummy solver, as provided by Bo Haglund.

The commands for accessing the double dummy solver is documented here.

Deal currently contains the code for DDS 1.1.8.

While DDS is fairly fast most of the time, on some deals, it can take a long time. In particular, when there are lots of voids, it can take several minutes to analyze the board.

For example, in this symmetric deal:

          S: ---
          H: Q853
          D: AJ962
          C: KT74
 S: KT74           S: Q853
 H: ---            H: AJ962
 D: Q853           D: KT74
 C: AJ962          C: ---
          S: AJ962
          H: KT74
          D: ---
          C: Q853

DDS takes more than 90 minutes to analyze South declaring Notrump on my iMac (2 gig memory, 2.33 GHz Intel Core 2 Duo.)

More recent results gave me a mere 5 minutes runtime on a MacBook Pro 2.5 GHz Intel Core i7, 16 GB memory.

As a general rule, hands with voids in every suit are hard to analyze, because on every play, one of the players can discard, and can choose any card. That essentially squares the complexity of analysis, because the leader can choose any of his cards, and theperson void in the suit led can pitch any of his cards.

In this example, we also have nobody holding "touching cards," so all 13 cards are different. (If South holds, say K-Q-J-9-8, then the hand only really has two choices to play in the suit, since, double-dummy, playing the king and playing the queen or jack are the same thing.)

Finally, the 5-4-4-0 distribution in each suit here makes almost all the spot cards important, so DDS can not skip some analysis that it often can.

Silhouette Thomas Andrews ( Copyright 1996-2010. Deal is covered by the GNU General Public License.

Plane Dealing graphic above created using POV-Ray.