Search found 27 matches

by richard
5 years ago
Forum: Archive Google Group
Topic: Number of variable and constraints
Replies: 2
Views: 10391

Number of variable and constraints

Hi everyone !

I have a MIP model in GAMS. ( model name is : TSmodel)

How I can find the number of variable( binary and continues variable ) and number of constraints in Model?

Thanks!
Richard
by richard
5 years ago
Forum: Tools
Topic: Debugger
Replies: 4
Views: 16237

Re: Debugger

Hi :-) Michael , thanks a lot ! It's helpful.
by richard
5 years ago
Forum: Archive Google Group
Topic: Find the difference between upper and lower bounds
Replies: 1
Views: 6823

Find the difference between upper and lower bounds

Hi everyone I have a MIP model with name "MyModel" , after solving it with CPLEX, the status model was 8,(INTEGER SOLUTION : A feasible solution to a problem with discrete variables has been found). i use the following command too ,( before the solve statement) file opts cplex option file/...
by richard
5 years ago
Forum: Tools
Topic: Debugger
Replies: 4
Views: 16237

Debugger

Hi all

Is there any debugging tools in GAMS ?( like debugger tools in other software, e.g MATLAB)

Best
Richard
by richard
5 years ago
Forum: Archive Google Group
Topic: tell to GAMS, an element isn't belong to set.
Replies: 1
Views: 3614

tell to GAMS, an element isn't belong to set.

Hi everyone I have 3 set A /45*200/ ,B/39*443/ ,and c/12*187/. I show symmetric difference of A,B by symAB, symmetric difference of A,c by symAc and symmetric difference of B,c by symBc, I want to code below summation in GAMS Sum(k$ k isn't belong to symAB)+Sum(k$ k isn't belong to symAc) <= Sum(j$ ...
by richard
5 years ago
Forum: Archive Google Group
Topic: maximum number of repetitions
Replies: 2
Views: 4298

Re: maximum number of repetitions

Hi Manassaldi , thank you very much , your answer is very helpful. ;)
Best
Richard
by richard
5 years ago
Forum: Archive Google Group
Topic: maximum number of repetitions
Replies: 2
Views: 4298

maximum number of repetitions

the following table is a result of one model D(i,j) 40 50 60 1 40 50 2 60 3 40 9 50 17 50 19 60 32 40 50 55 60 This table shows patterns. for example Pattern "40,50" Repeated twice. pattern 50 repeated 2 times. And Pattern "60" repeated three times. Here the maximum number of rep...
by richard
5 years ago
Forum: Syntax
Topic: Data Exchange with Microsoft Excel
Replies: 2
Views: 2387

Data Exchange with Microsoft Excel

Hi when we want to export parameter from GAMS to excel we write : $call gdxxrw.exe results.xls par=Level rng=A1:D3 i have a scalar withe name " num_ca" , i want to export this scalar to excel , but h don't know how can i do that . how can we export scalar from GAMS to excel ? Best