The main script to run is ʹGSOCGrp.mʹ to perform the optimization along with several
other functions for support. The functions need to be in the same working
directory/folder.
There are four workspaces (files with ʹ.matʹ extension) that predefine the boundary
conditions required for the specific problem. Included here are the workspaces for the
four main optimization problems (cantilever, torsion, MBB, Chair).
We also provide the codes to create the initial ground structures and boundary conditions for our 4 problems. 
Please see 'checkbasis.m' (for cantilever and torsion problem), 'MBBProblem.m', and 'ChairGroundStructure.m'.