Optimization variables are found during solution, and may be used in the objective and constraints. Variables are specified by a name and dimension. Dimensions can use symbolic values from dimensions blocks. CVXGEN supports scalar and vector variables, and indexed variables.
Some examples (assuming m and n were specified in a dimensions block):
z[i] (3), i=1..5