..as I said perhaps you'd better upload the workbook with some examples.
From what you're saying their are constraints on some variables, or some which may be a key variable since they're limited.