BBO Discussion Forums: Simulation request - BBO Discussion Forums

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Simulation request

#1 User is offline   whereagles 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 14,900
  • Joined: 2004-May-11
  • Gender:Male
  • Location:Portugal
  • Interests:Everything!

Posted 2008-March-10, 08:23

Hi. If someone could help me with a simple thing, I'd appreciate.

I'm devising a system where the 1♣ opener is either natural or a strong hand. I'd like to know the odds of 1♣ being strong in the following circumstances:

A. 1♣ = ...
a1. natural, 11-20
a2. any balanced 12-14
a3. strong, 18+ if 1-suited (6 cards), 20+ if balanced (5M possible), 21+ if 2/3 suited (54 or 4441)

B. 1♣ = ...
b1. natural, 11-20
b2. strong, 18+ if 1-suited (6 cards), 20+ if balanced (5M possible), 21+ if 2/3 suited (54 or 4441)

C. 1♣ = ...
c1. natural, 11-20 (cannot be balanced 18-19)
c2. any balanced 12-14
c3. strong, 21+ if 1-suited (6 cards), 20+ if balanced (5M possible), 21+ if 2/3 suited (54 or 4441)

D. 1♣ = ...
d1. natural, 11-20 (cannot be balanced 18-19)
d2. strong, 21+ if 1-suited (6 cards), 20+ if balanced (5M possible), 21+ if 2/3 suited (54 or 4441)

Difference between A/B and C/D is the strong variant being stronger in C/D and 18-19 bal not possibe.

Thx in advance.
0

#2 User is offline   hrothgar 

  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 15,725
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Natick, MA
  • Interests:Travel
    Cooking
    Brewing
    Hiking

Posted 2008-March-10, 08:27

Hey there

Get a copy of Hans van Stavern's dealer.

It's very powerful and quite intuitive...

From the sounds of things your in the very early stages of a long project. Best to bite the bullet now.
Alderaan delenda est
0

#3 User is offline   whereagles 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 14,900
  • Joined: 2004-May-11
  • Gender:Male
  • Location:Portugal
  • Interests:Everything!

Posted 2008-March-10, 10:08

Ok I got it. Does it run under linux? Can't seem to get it to work there <_<
0

#4 User is offline   hrothgar 

  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 15,725
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Natick, MA
  • Interests:Travel
    Cooking
    Brewing
    Hiking

Posted 2008-March-10, 10:16

whereagles, on Mar 10 2008, 07:08 PM, said:

Ok I got it. Does it run under linux? Can't seem to get it to work there <_<

Dealer was originally written for UNIX and runs fine under Linux
Alderaan delenda est
0

#5 User is offline   helene_t 

  • The Abbess
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 17,401
  • Joined: 2004-April-22
  • Gender:Female
  • Location:Odense, Denmark
  • Interests:History, languages

Posted 2008-March-10, 10:30

You can also try "deal". I managed to modify the makefile so that it works under Ubuntu, it is described here:
http://forums.bridgebase.com/index.php?sho...=20128&hl=linux
The world would be such a happy place, if only everyone played Acol :) --- TramTicket
0

#6 User is offline   whereagles 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 14,900
  • Joined: 2004-May-11
  • Gender:Male
  • Location:Portugal
  • Interests:Everything!

Posted 2008-March-10, 12:29

Allright. I've manage to get Han's program to work under windows. But the only thing it does is to generate hands. It doesn't do the statistics I wanted.

Is this a bug, a feature or should I just RTFM?
0

#7 User is offline   TimG 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 3,972
  • Joined: 2004-July-25
  • Gender:Male
  • Location:Maine, USA

Posted 2008-March-10, 12:33

whereagles, on Mar 10 2008, 01:29 PM, said:

Allright. I've manage to get Han's program to work under windows. But the only thing it does is to generate hands. It doesn't do the statistics I wanted.

Is this a bug, a feature or should I just RTFM?

It will do the statistics you want. And, as I recall, it doesn't take much reading to figure out how to instruct it to do so.
0

#8 User is offline   whereagles 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 14,900
  • Joined: 2004-May-11
  • Gender:Male
  • Location:Portugal
  • Interests:Everything!

Posted 2008-March-10, 12:34

We talking about the same thing? I got it here: www.xs4all.nl/~sater/
0

#9 User is offline   hrothgar 

  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 15,725
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Natick, MA
  • Interests:Travel
    Cooking
    Brewing
    Hiking

Posted 2008-March-10, 12:36

whereagles, on Mar 10 2008, 09:29 PM, said:

Allright. I've manage to get Han's program to work under windows. But the only thing it does is to generate hands. It doesn't do the statistics I wanted.

Is this a bug, a feature or should I just RTFM?

RTFM

I can be a malicious SOB, but I'm not the sort who would go out of my way to recommend a software package thats not suitable for you requirements

Take a look at the descr.6c example....

This should give you enough information to use the average function.
Alderaan delenda est
0

#10 User is offline   TimG 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 3,972
  • Joined: 2004-July-25
  • Gender:Male
  • Location:Maine, USA

Posted 2008-March-10, 12:46

Yes, we're talking about the same thing. It's been a while since I've used dealer, but you need to do something like this:

1c_natural=[insert conditions]
1c_strong=[insert conditions]
1c_open=1c_natural || 1c_strong

condition 1c_open
produce x [where x equals number of matching deals]

average "1C is strong" (1c_strong) [1c_strong should be "1" when the condition is met]
0

#11 User is offline   whereagles 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 14,900
  • Joined: 2004-May-11
  • Gender:Male
  • Location:Portugal
  • Interests:Everything!

Posted 2008-March-10, 13:27

boy, you guys are cryptic.. lol

Finally, it turned out that Hans has 2 dealers: BIGDEAL and DEALER. Bigdeal is windows and meant for tournament hand generation, while dealer is linux based and for bidding practice. What I downloaded was bigdeal, which, of course, doesn't do statistics. Got dealer now and gonna check it out.
0

#12 User is offline   cherdano 

  • 5555
  • PipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 9,520
  • Joined: 2003-September-04
  • Gender:Male

Posted 2008-March-10, 14:22

whereagles, on Mar 10 2008, 10:08 AM, said:

Ok I got it. Does it run under linux? Can't seem to get it to work there :)

Thomas Andrews' "Deal" is easy to get working under linux, and can do really anything you want (f you are willing to learn the syntax).
The easiest way to count losers is to line up the people who talk about loser count, and count them. -Kieran Dyke
0

#13 User is offline   han 

  • Under bidder
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 11,797
  • Joined: 2004-July-25
  • Gender:Male
  • Location:Amsterdam, the Netherlands

Posted 2008-March-10, 15:03

Hans is not the same as Han btw.
Please note: I am interested in boring, bog standard, 2/1.

- hrothgar
0

#14 User is offline   TimG 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 3,972
  • Joined: 2004-July-25
  • Gender:Male
  • Location:Maine, USA

Posted 2008-March-11, 09:14

whereagles, on Mar 10 2008, 02:27 PM, said:

boy, you guys are cryptic.. lol

Finally, it turned out that Hans has 2 dealers: BIGDEAL and DEALER. Bigdeal is windows and meant for tournament hand generation, while dealer is linux based and for bidding practice. What I downloaded was bigdeal, which, of course, doesn't do statistics. Got dealer now and gonna check it out.

I went looking today and could not find a download site. Can you point to a specific directory?
0

#15 User is offline   whereagles 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 14,900
  • Joined: 2004-May-11
  • Gender:Male
  • Location:Portugal
  • Interests:Everything!

Posted 2008-March-11, 09:48

TimG, on Mar 11 2008, 03:14 PM, said:

I went looking today and could not find a download site. Can you point to a specific directory?

BIGDEAL: http://www.xs4all.nl/~sater/
DEALER: http://www.xs4all.nl...ody_dealer.html
0

#16 User is offline   TimG 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 3,972
  • Joined: 2004-July-25
  • Gender:Male
  • Location:Maine, USA

Posted 2008-March-11, 10:48

Thanks, I don't know why google wouldn't send me to that page.

Is anyone using dealer, XP and bridge.exe (GIB's double dummy solver) together? I've used dealer and GIB together in the (distant) past, but can't seem to get them working together today. I seem to recall there were a couple of tricks to get things to work, but apparently can't remember what the tricks actually were.

EDIT: I have updated cygwin. The error message I get is "Can't open GIB." Is it possible that bridge.exe (GIB) does not run on XP?
0

#17 User is offline   Cascade 

  • PipPipPipPipPipPipPipPip
  • Group: Yellows
  • Posts: 6,772
  • Joined: 2003-July-22
  • Gender:Male
  • Location:New Zealand
  • Interests:Juggling, Unicycling

Posted 2008-March-11, 14:15

Yes I have these working.

I think the problem is that bridge.exe might have been upgraded and the upgraded version does not work with dealer. This is some vague recollection of having problems with this several years ago.
Wayne Burrows

I believe that the USA currently hold only the World Championship For People Who Still Bid Like Your Auntie Gladys - dburn
dunno how to play 4 card majors - JLOGIC
True but I know Standard American and what better reason could I have for playing Precision? - Hideous Hog
Bidding is an estimation of probabilities SJ Simon

#18 User is offline   hotShot 

  • Axxx Axx Axx Axx
  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 2,976
  • Joined: 2003-August-31
  • Gender:Male

Posted 2008-March-11, 14:36

There used to be a very old version of GIB at an old ftp server at some university that was free.
Later versions have a different interface and don't work with the old one.
0

#19 User is offline   ASkolnick 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 385
  • Joined: 2007-November-20

Posted 2008-March-11, 14:40

I used dealer, xp and Bridge Analyzer together but I only used the free copy.
0

#20 User is offline   TimG 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 3,972
  • Joined: 2004-July-25
  • Gender:Male
  • Location:Maine, USA

Posted 2008-March-11, 15:48

Cascade, on Mar 11 2008, 03:15 PM, said:

Yes I have these working.

I think the problem is that bridge.exe might have been upgraded and the upgraded version does not work with dealer. This is some vague recollection of having problems with this several years ago.

Thanks. I don't think I ever upgraded -- all I ever used GIB for was simulations -- but I'll see if I can find the original disc and make sure I'm using an old, old version.
0

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users