Search found 1042 matches
- 1 year ago
- Forum: Modeling
- Topic: Mathematical Notation
- Replies: 1
- Views: 1766
Re: Mathematical Notation
If your GAMS program would compile/work you could use model2tex (https://www.gams.com/latest/docs/T_MODEL2TEX.html) to represent your model and its algebra in LaTeX. -Michael
- 1 year ago
- Forum: Modeling
- Topic: Error: rPower: FUNC DOMAIN: x**y, x=0,y<0
- Replies: 2
- Views: 1695
Re: Error: rPower: FUNC DOMAIN: x**y, x=0,y<0
Replace x**2 by sqr(x). You can use ipower (i.e. sqr for i=2) rather than rpower which has restrictions of the operands.
-Michael
-Michael
- 1 year ago
- Forum: API
- Topic: Could not load shared library C:\GAMS\42\gmdcclib64.dll: Windows error
- Replies: 3
- Views: 4951
Re: Could not load shared library C:\GAMS\42\gmdcclib64.dll: Windows error
GAMS API is not limited to Conda. But Conda might have resolved your system library issues. -Michael
- 1 year ago
- Forum: Syntax
- Topic: No solution returned
- Replies: 1
- Views: 10455
Re: No solution returned
Problem is infeasible and IIS large (from GAMS/BARON): Problem is infeasible Calculating an IIS Irreducibility of the (I)IS provided cannot be guaranteed (I)IS contains 125 rows and 52 columns So no easy answer. You find many good suggestions how to deal with infeasible models in the forum. Good luc...
- 1 year ago
- Forum: API
- Topic: apifiles/Python/ missing in fresh GAMS 42 install
- Replies: 1
- Views: 3941
- 1 year ago
- Forum: Modeling
- Topic: GAMS CONSTRAINT FIX
- Replies: 1
- Views: 1389
Re: GAMS CONSTRAINT FIX
First, look at the forum rules. This has "send the self-contained, executable GAMS code that reproduces your problem to the group". This does not work with screen shots. Attach the text file with the GAMS program! Now to your question, if you have a undesired outcome, check the constraint ...
- 1 year ago
- Forum: Syntax
- Topic: Using $goto during execution - possible?
- Replies: 1
- Views: 3331
Re: Using $goto during execution - possible?
Nope. There is no execution time goto. The only controls you have to influence the flow of execution are break, continue (in loops), abort[.noError] to terminate, and if/elseif/else.
-Michael
-Michael
- 1 year ago
- Forum: API
- Topic: Could not load shared library C:\GAMS\42\gmdcclib64.dll: Windows error
- Replies: 3
- Views: 4951
Re: Could not load shared library C:\GAMS\42\gmdcclib64.dll: Windows error
Make sure the mentioned file is actually there. gmdcclib64.dll has some dependencies that should all be resolved by libraries that come with GAMS. Try running a simple model from GAMS with its own version of Python (don't set the GMSPYTHONLIB environment variables), e.g. "datalib embeddedSplit ...
- 1 year ago
- Forum: Modeling
- Topic: Infeasible solution: reduce gradient less than tolerance
- Replies: 1
- Views: 1583
Re: Infeasible solution: reduce gradient less than tolerance
If you use a global solver like BARON you get the certificate that the model is indeed infeasible. The forum has many topics that explain how to deal with infeasible models. IIS is one way. In your case the IIS found by BARON is pretty large: (I)IS contains 188 rows and 219 columns . So this is not ...
- 1 year ago
- Forum: Modeling
- Topic: GAMS error 140
- Replies: 1
- Views: 1561
Re: GAMS error 140
The error says "unknow symbol", so you probably have not declared z. Errors often have something to do with context. So it really helps to send the entire model file if you expect help as spelled out in the forum rules: app.php/rules
-Michael
-Michael