Search found 3 matches
- 5 years ago
- Forum: Syntax
- Topic: Product between matrices and vector
- Replies: 2
- Views: 3511
Re: Product between matrices and vector
Hi Gabriel, many thanks!
- 5 years ago
- Forum: Syntax
- Topic: Product between matrices and vector
- Replies: 2
- Views: 3511
Product between matrices and vector
Hi, I'm new with GAMS and I'm struggling with a very simple problem. I wish to define the product between a matrix(k,m) and a vector(k), e.g.: A = [0.082 0.036 ; 0.036 0.127] and v = [1 ; 0] Multiplying A*v I expect to obtain the first column of A, so: x = A*v = [0.082; 0.036] If I try: x(k) = sum(m...
- 5 years ago
- Forum: Syntax
- Topic: Data transfer from excel to GAMS using GDXXRW
- Replies: 3
- Views: 7186
Re: Data transfer from excel to GAMS using GDXXRW
Hi, I'm facing the same issue on both MacOS and Ubuntu. I guess the only solution is to run GAMS on a virtual machine when using these two OS. Isn't it? Would you suggest any other workaround for this problem? Thanks in advance to anyone will reply.