[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] cross product of decision variable on itself.
From: |
brad mullins |
Subject: |
[Help-glpk] cross product of decision variable on itself. |
Date: |
Sat, 25 Feb 2012 12:31:20 -0800 (PST) |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-glpk] cross product of decision variable on itself.,
brad mullins <=