Hi everyone,
I am thinking if it possible to put several optimizaiton variables into a matrix form. My optimization variable is defined by this syntax:
>> z1=optimvar('z1','Type','integer','LowerBound',0,'UpperBound',1)>> z2=optimvar('z2','Type','integer','LowerBound',0,'UpperBound',1)>> z3=optimvar('z3','Type','integer','LowerBound',0,'UpperBound',1)zij=['z1','z2','z3';'z2','z2','z3';'z3','z3','z3']
It turns out that my 'zij' is a set of arrays not matrix. Anyone has idea about that? Thanks so much!
Best Answer