The fact that a variable only appears in the constraint does not mean it is not a decision variable. It is a variable which has to be decided by the solver, hence it is a decision variable.
Consider the following problem: Johan and Yu gets $10 from Bill. Johan now wants to share the money among Johan and Yu while getting as much as possible him self.
Hence
maximize johan
s.t. johan+yu == 10, johan >=0, yu >= 0
Obviously both johan yu are decision variables, but only johan appear in the objective.
Regarding your model. First, SET is obsolete, don't use it
Secondly, you can write everything directly, you don't have to define matrices etc. That is the whole reason for using a modeling language (although here, it might be relevant to define the matrices since they occur multiple times)