RCD: Program for Constructing Non-Resolvable Row-column Designs

  1. Introduction
  2. Using RCD
  3. Output
  4. Examples
  5. References


A (non-resolvable) row-column design (RCD) is an arrangement of v treatments set out in kxb array such that each treatment is replicated r times (vr=kb). We say this RCD is of size (v,k,b). A recommended reference on the subject is Chapter 5 of John & Williams (1995).

RCD is a Gendex program for constructing optimal or near-optimal row-column designs. The approach adopted by RCD is to permute the treatments within the blocks of an optimal or near-optimal block design used as the column component of the RCD. The optimality criterion and the algorithm used in RCD are discussed in Nguyen (1997).

Using RCD

Let's assume all Gendex class files are in the directory c:\gendex and suppose you want to construct an RCD of size (v,k,b)=(9,3,6). The following is the file bib.txt in the working directory which contains an IBD of size (v,k,r)=(9,3,2) with blocks as columns:

5     6     3     4     8     5
0     7     7     8     1     1
4     0     2     3     6     2

At the working directory, type the following command at the Command Prompt (case is important):

java -cp c:\gendex RCD

The RCD GUI will pop up. Enter bib.txt in the File text field:

Click START, RCD will start running and after try 10, the plan of the constructed design for this try pops up in the RCD output window (as the ratio E/U reaches 1) and RCD stops:

The START button has changed to RESET button. If you click this RESET button, the output will disappear and you can now start a new design problem. Note that the default random seed is the one obtained from the system clock and the default number of tries is 1000. You can change these default values if you wish to.


The result of the best try is displayed in the RCD output window and is also saved in the file RCD.htm in the working directory. This file can be read by a browser such as IE or Google Chrome. Information for this try includes:

  1. Try number;
  2. The number of iterations;
  3. The objective function f.
  4. The row, column and row-column efficiency E of the constructed design and the ratio E/U where U is the upper bound of an RCD of size (v,k,b). The program automatically stops if this ratio reaches 1.
  5. The distribution of the concurrences of this design;
  6. The design plan and the associated random seed;
  7. The time in seconds RCD used to construct the above design.

An additional output of an RCD session is the file form.htm. This file contains the randomized plan of the constructed design.


  1. An RCD of size (v,k,b)=(4,6,6) (http://designcomputing.net/gendex/rcd/r1.html).
  2. An RCD of size (v,k,b)=(10,5,6) (http://designcomputing.net/gendex/rcd/r2.html).
  3. An RCD of size (v,k,b)=(8,4,4) (http://designcomputing.net/gendex/rcd/r3.html).
  4. An RCD of size (v,k,b)=(9,3,6) (http://designcomputing.net/gendex/rcd/r4.html).
  5. An RCD of size (v,k,b)=(12,4,6) (http://designcomputing.net/gendex/rcd/r5.html).
  6. An RCD of size (v,k,b)=(12,4,9) (http://designcomputing.net/gendex/rcd/r6.html).
  7. An RCD of size (v,k,b)=(16,4,12) (http://designcomputing.net/gendex/rcd/r7.html).
  8. An RCD of size (v,k,b)=(6,4,9) (http://designcomputing.net/gendex/rcd/r8.html).
  9. An RCD of size (v,k,b)=(9,6,6) (http://designcomputing.net/gendex/rcd/r9.html).
  10. An RCD of size (v,k,b)=(15,6,10) (http://designcomputing.net/gendex/rcd/r10.html).


The IBDs used as column components of the constructed RCDs in Examples 1-10 are in the files r1.txt, r2.txt, r3.txt, r4.txt, r5.txt, r6.txt, r7.txt, r8.txt, r9.txt and r10.txt.


John, J.A. & Williams E.R. (1987) Cyclic designs and computer-generated designs. New York: Chapman & Hall.
Nguyen, N-K (1997) Construction of optimal row-column designs by computer. Computing Science & Statistics 28, 471-475.

©2000-2014 Design Computing