Search found 2 matches

by Dewan
6 years ago
Forum: Syntax
Topic: Set limit as a predefined scalar
Replies: 1
Views: 2901

Set limit as a predefined scalar

Hi, I was trying to use a predefined scalar as the set's upper limit. I wrote the following code: SCALAR N number of vertices /5/; SET i vertex index /1*N/ I am getting following error: Error 764 in C:\[dir] Could not extract number in <element> * <element> list Can anyone please help me to fix this...
by Dewan
6 years ago
Forum: API
Topic: Java and GAMS
Replies: 1
Views: 4610

Java and GAMS

Hi All, I am trying to use Eclipse Java api of GAMS. After following all the steps in https://www.gams.com/latest/docs/API_JAVA_TUTORIAL.html#JAVA_IMPORT_ECLIPSE_PROJECT , I am getting following error while running example problem transport1. Exception in thread "main" com.gams.api.GAMSExc...