Hello everyone,
I have a question regarding the definition and matching of variables in an MCP model.
For instance, I have a variable named X
defined over two different subsets (nes
and nones
). Therefore, the variable appears as X[nes,j]
and X[nones,j]
. Each subset (nes
and nones
) is associated with a specific equation, as follows:
Eq1:X[nones,j]
Eq2:X[nes,j]
But obviously this doesn’t work because the matching structure doesn’t include index.
Is there a straightforward method to link variables from each subset with their respective equations, or would it be necessary to define two separate variables, one for each subset (nes
and nones
)?
Thanks in advance!
Kind regards