Search found 3 matches

by aruni176102002
4 years ago
Forum: Syntax
Topic: problem with syntax of the equation
Replies: 15
Views: 17465

Re: problem with syntax of the equation

I have loaded the matrices from matlab. Now some of the matrices are column vectors and the elements are mostly zeros. I want to know whether they are loaded as column vectors in gams. How to write transpose of a variable. If my variable is x1 with j rows and 1 column, how can I write the transpose ...
by aruni176102002
4 years ago
Forum: Syntax
Topic: problem with syntax of the equation
Replies: 15
Views: 17465

Re: problem with syntax of the equation

I just want to know whether the matrices from matlab workspace is loaded in the same way as they are....If the matrix is a column vector, which is considered as one dimensional variable, how can I write the transpose of that variable ? Please help me...
by aruni176102002
4 years ago
Forum: Syntax
Topic: problem with syntax of the equation
Replies: 15
Views: 17465

Re: problem with syntax of the equation

I am new to GAMS...I have interfaced matlab and gams....however while solving it, I am getting the error 149 and 148....Can someone help....Parameters f, b_L...etc are column vectors whereas Cmat and H are matrices....Can anyone help me? Set j /1*23/; Set i /1*75/; Set k/ 1*23/; Set l/1*75/; Set m/1...