Codes to supplement the paper
"Ascent with Quadratic Assistance for the Construction of Exact Experimental Designs"
by Lenka Filova and Radoslav Harman

The algorithm AQuA is in the files od.AQuA.D.r (D-optimality) and od.AQuA.A.r (A-optimality and I-optimality). Note that the helper function Create.hS.r is needed to run these programs. 
The programs od.REX.D.r and od.REX.A.r are used to compute D-optimal and A-optimal approximate designs, respectively.

To compute I-optimal designs, a transformation of the model is needed. For details showing that, after this transformation, I-optimality is equivalent to A-optimality, see the manual to the function F.IVtoA in the package OptimalDesign, and the Section 5.3 of the paper.

The codes for the examples in Section 6 of the paper are in the file ex_aqua.r. 
To execute some of the commands in these examples (namely, F.simplex, F.IVtoA, od.infmat, od.plot), the library OptimalDesign is needed. This can be installed by running
install.packages("OptimalDesign").
