Search found 639 matches
- 5 years ago
- Forum: Bugs
- Topic: An unknown variable
- Replies: 2
- Views: 10371
Re: An unknown variable
Hi When I run your model, I get the following errors: **** $65,56,65,56,65,56,256 **** 56 Endogenous operands for * not allowed in linear models **** 65 Discrete variables can only appear in MIP, RMIP, MINLP **** RMINLP MIQCP or RMIQCP MPEC RMPEC problems. **** 256 Error(s) in analyzing solve statem...
- 5 years ago
- Forum: Solvers
- Topic: JAMS Pre Processing Failed - Solver Error
- Replies: 2
- Views: 4750
Re: JAMS Pre Processing Failed - Solver Error
Hi I ran your model on my notebook (Gams 24.9.1 with CPLEX) and it runs fine. Here is the essential output: EXECUTION TIME = 0.172 SECONDS 4 MB 24.9.1 r63795 WEX-WEI GAMS 24.9.1 r63795 Released Aug 30, 2017 WEX-WEI x86 64bit/MS Windows 07/14/18 16:37:20 Page 5 G e n e r a l A l g e b r a i c M o d e...
- 5 years ago
- Forum: Solvers
- Topic: Non-Binary values taken by binary variables in GAMS/LINDO
- Replies: 1
- Views: 3847
Re: Non-Binary values taken by binary variables in GAMS/LINDO
Hi
Perhaps this might help you (same issue when using dicopt: viewtopic.php?f=13&t=6802&p=15100&hilit ... ous#p15100.
Cheers
Renger
Perhaps this might help you (same issue when using dicopt: viewtopic.php?f=13&t=6802&p=15100&hilit ... ous#p15100.
Cheers
Renger
- 5 years ago
- Forum: Modeling
- Topic: logical errors for an economic model
- Replies: 4
- Views: 4066
Re: logical errors for an economic model
This is just information by the solver and not an error. Check the manual for more information on the reduced gradient information.
CHeers
Renger
CHeers
Renger
- 5 years ago
- Forum: Modeling
- Topic: How to compute endogenous cost expressions in GAMs
- Replies: 3
- Views: 3313
Re: How to compute endogenous cost expressions in GAMs
Hi
As in most modeling and programming languages there is a way to write the square root. In Gams there is an explicit function SQRT(x) or you can use x**0.5.
Cheers
Renger
As in most modeling and programming languages there is a way to write the square root. In Gams there is an explicit function SQRT(x) or you can use x**0.5.
Cheers
Renger
- 5 years ago
- Forum: Modeling
- Topic: Using same identifier twice in variable.
- Replies: 2
- Views: 4091
Re: Using same identifier twice in variable.
Hi
Use an alias and define the parameter like this
alias(i,j);
mult(i,j) = a(i) * a(j);
cheers
Renger
Use an alias and define the parameter like this
alias(i,j);
mult(i,j) = a(i) * a(j);
cheers
Renger
- 5 years ago
- Forum: Modeling
- Topic: Error 495 and Error 141 : Load Dimensions are different and symbol declared but no values have been assigned
- Replies: 1
- Views: 3674
Re: Error 495 and Error 141 : Load Dimensions are different and symbol declared but no values have been assigned
Hi
You have a two-dimensional variable with 1 dimension in the row and 1 dimension in the column, so you should inform gdxxrw accordingly with rdim=1 cdim=1 instead of 1 0.
Cheers
Renger
You have a two-dimensional variable with 1 dimension in the row and 1 dimension in the column, so you should inform gdxxrw accordingly with rdim=1 cdim=1 instead of 1 0.
Cheers
Renger
- 5 years ago
- Forum: Modeling
- Topic: GAMS parameter issue
- Replies: 6
- Views: 6045
Re: GAMS parameter issue
Hi
As written in the Rules to this forum
...send the self-contained, executable GAMS code that reproduces your problem to the group.
...describe your problem as clearly as possible.
You might try to reformulate your question, so people will be able to answer it.
CHeers
Renger
As written in the Rules to this forum
...send the self-contained, executable GAMS code that reproduces your problem to the group.
...describe your problem as clearly as possible.
You might try to reformulate your question, so people will be able to answer it.
CHeers
Renger
- 5 years ago
- Forum: Modeling
- Topic: rmip solver in GAMS - Reg
- Replies: 1
- Views: 2218
Re: rmip solver in GAMS - Reg
Hi
Just do an internet search for Relaxed Mixed Integer Programming.
Cheers
Renger
Just do an internet search for Relaxed Mixed Integer Programming.
Cheers
Renger
- 5 years ago
- Forum: Syntax
- Topic: GAMS exit code 8???
- Replies: 1
- Views: 2131
Re: GAMS exit code 8???
Hi
Please read the Forum Rules and give more information (code, etc.) so people can help you.
Cheers
Renger
Please read the Forum Rules and give more information (code, etc.) so people can help you.
Cheers
Renger