Dear all,
what is the best way to multiply two matrix in GAMS?
Thanks for all your answer,
Luca
Search found 21 matches
- 1 week ago
- Forum: Syntax
- Topic: Matrix multiplication in GAMS
- Replies: 1
- Views: 64
- 2 weeks ago
- Forum: Syntax
- Topic: GAMS CPU time
- Replies: 4
- Views: 113
Re: GAMS CPU time
usually I test code with single thread and I report this CPU time.
otherwise what you suggest to do ?
Thanks,
Luca
otherwise what you suggest to do ?
Thanks,
Luca
- 2 weeks ago
- Forum: Syntax
- Topic: GAMS CPU time
- Replies: 4
- Views: 113
GAMS CPU time
Dear all,
I know in gams the elapsed time can be retrive by the couple of instructions:
scalar starttime; starttime = jnow;
....
scalar elapsed; elapsed = (jnow - starttime)*24*3600; display elapsed;
but how can i retrive the cpu time spent in gams by my code?
Thanks in advance,
Luca
I know in gams the elapsed time can be retrive by the couple of instructions:
scalar starttime; starttime = jnow;
....
scalar elapsed; elapsed = (jnow - starttime)*24*3600; display elapsed;
but how can i retrive the cpu time spent in gams by my code?
Thanks in advance,
Luca
- 2 weeks ago
- Forum: Tools
- Topic: Gams and eigenvectors
- Replies: 2
- Views: 113
- 2 weeks ago
- Forum: Tools
- Topic: Gams and eigenvectors
- Replies: 2
- Views: 113
Gams and eigenvectors
Dear all,
I am using the tool eigenvector.exe to compute the eigenvector of a matrix.
Gams return a matrix with the eigenvectors. Just one question: the eigenvector are the row or the column of that matrix?
Thanks very much. Best regards,
Luca
I am using the tool eigenvector.exe to compute the eigenvector of a matrix.
Gams return a matrix with the eigenvectors. Just one question: the eigenvector are the row or the column of that matrix?
Thanks very much. Best regards,
Luca
- 3 months ago
- Forum: Solvers
- Topic: Infeasibilities in CPLEX
- Replies: 2
- Views: 2334
- 3 months ago
- Forum: Solvers
- Topic: Infeasibilities in CPLEX
- Replies: 2
- Views: 2334
Infeasibilities in CPLEX
Dear all, I am programming in GAMS using CPLEX as MIP solver. I activated the following options for CPLEX feasopt 1 numericalemphasis 1 scaind 1 CPLEX should provide the "less infeasible" solution to the problem. However I obtain the following error: Feasible solution. ------------------------------...
- 4 months ago
- Forum: Modeling
- Topic: Principal component analysis in GAMS
- Replies: 1
- Views: 1467
Principal component analysis in GAMS
Dear all,
I would like to implement principal component analysis in GAMS. I would ask you if there are linear algebra facilities in GAMS (such as tools to compute eigenvalues...) or there are libraries already available for PCA in GAMS.
Thanks very much for your help. Best regards,
Luca
I would like to implement principal component analysis in GAMS. I would ask you if there are linear algebra facilities in GAMS (such as tools to compute eigenvalues...) or there are libraries already available for PCA in GAMS.
Thanks very much for your help. Best regards,
Luca
- 4 months ago
- Forum: Syntax
- Topic: Excel printing problem
- Replies: 3
- Views: 1142
- 4 months ago
- Forum: Syntax
- Topic: Excel printing problem
- Replies: 3
- Views: 1142
Excel printing problem
Dear all users,
I am using GAMS to solve an optimisation problem and I am printing the results to an excel sheet. I wold ask you if there is a way to print in excel all the entries of a variable included the zero entries.
Thanks in advance. Best regards,
Luca
I am using GAMS to solve an optimisation problem and I am printing the results to an excel sheet. I wold ask you if there is a way to print in excel all the entries of a variable included the zero entries.
Thanks in advance. Best regards,
Luca