This may make no sense, but trying to create a matrix established by the a
single dimensional decision variable that is the cross product of itself,
eg:
decision variable
1 2 3 1.5
----------- ----------- ----------- -----------
1 | 1 2 3 1.5
2 | 2 4 6 3
3 | 3 6 9 4.5
1.5| 1.5 3 4.5 2.25
Thought about making two sets, maybe something like the following, but cant
get it to work:
set SET1;
set SET2 := SET1 cross SET1;
Also thought about building this into a constraint. something like s.t.
:[x,y] - [x]*[y] =0 .
In the objective statement, the resulting matrix will just be multiplied by
another parameter matrices of the same dimension.
How can this be done?
--
View this message in context:
http://old.nabble.com/cross-product-of-decision-variable-on-itself.-tp33392000p33392000.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk