This code is written by Ying Hung using Microsofe Visual C++. To run the code, please open the file "OMLHD code.dsw". There are four parameters need to be predetermined. 1. Name of the output file: out.open("the name of your file") 2. Number of factors k: const int k=10; <= input number of factors you have. 3. Number of runs n: const int n=30; <= input your requirment. 4. Number of different initials: int nsearch=20 means 20 different initials. The result will be shown in the file named by 1. (ex: n30k10 OMLHD.txt )