Search found 27 matches

by richard
5 years ago
Forum: Archive Google Group
Topic: epgap=0
Replies: 4
Views: 5258

Re: epgap=0

I can’t thank you enough!
by richard
5 years ago
Forum: Archive Google Group
Topic: epgap=0
Replies: 4
Views: 5258

Re: epgap=0

Can you explain a little more?
What exactly should I do?
I did not understand yet

Thanks
by richard
5 years ago
Forum: Archive Google Group
Topic: epgap=0
Replies: 4
Views: 5258

epgap=0

Hi i have a three "MIP" model , i want to solve these model in one GAMS file ,i write equation for every model first, when i write model my_model1/obj1,c1,c2/; my_model1.Optfile =1; file opts cplex option file/ cplex.opt /; putclose opts /'epgap=0' /'epagap=0'; solve my_model1 using mip mi...
by richard
5 years ago
Forum: Archive Google Group
Topic: Selecting Random Elements from a List Without Repetition
Replies: 5
Views: 6316

Re: Selecting Random Elements from a List Without Repetition

I have GAMS 24.1.2

Is there any way that I use this option?
by richard
5 years ago
Forum: Archive Google Group
Topic: Selecting Random Elements from a List Without Repetition
Replies: 5
Views: 6316

Re: Selecting Random Elements from a List Without Repetition

i use your solution but i have error!!


why i get this error ? unknown option
by richard
5 years ago
Forum: Archive Google Group
Topic: Selecting Random Elements from a List Without Repetition
Replies: 5
Views: 6316

Selecting Random Elements from a List Without Repetition

An example: I have a set i /1*750/;
and I want to choose 10 of them but without repetition, so

[10 ,14,2,8,25,100,68,95,225,603,741]
is a correct subset and

[42,58,69,153,284,652,453,362,269,153]
is incorrect.

how can Select 10 random element of a given set , without repetition, by GAMS?