Search found 235 matches

by bussieck
4 days ago
Forum: Syntax
Topic: use loop about gradually plus one
Replies: 8
Views: 96

Re: use loop about gradually plus one

You forgot the ft1.l>=0.8. -Michael
by bussieck
4 days ago
Forum: Syntax
Topic: use loop about gradually plus one
Replies: 8
Views: 96

Re: use loop about gradually plus one

The -1 is just for initialization. Bestns1 records the ns1 where the optimum has been found. The logical expression with modelstat ensures that the solver only updates the best found if we have a solution and as minc1 holds the best solution so far, we only want to update if the newly found solution...
by bussieck
5 days ago
Forum: Syntax
Topic: use loop about gradually plus one
Replies: 8
Views: 96

Re: use loop about gradually plus one

I don't understand why you want to look for the optimum this way, but your could do: ... scalar minc1 /inf/, bestns1 /-1/; scalar ns1cnt; ft1.lo=0; ft1.up=1; ft1.l = 0.5; option optcr=0; for (ns1cnt=1 to 100, ns1.fx = ns1cnt; solve exchanger1 using minlp minimizing c1; * Optimal or feasible solution...
by bussieck
5 days ago
Forum: Syntax
Topic: use loop about gradually plus one
Replies: 8
Views: 96

Re: use loop about gradually plus one

Not sure I understand. Especially the logic of the repeat loop: 1) you set bounds on ft1: ft1.lo = 0.8; ft1.up = 1; 2) you terminate the repeat if ft1.l>=0.8 If the solve in the loop body is optimal/feasible the stopping criterion is immediately met and the loop stops. I understand that you struggle...
by bussieck
6 days ago
Forum: Announcements
Topic: Webinar announcement: "Preview of our new product GAMS MIRO: A web interface for your GAMS models".
Replies: 0
Views: 53

Webinar announcement: "Preview of our new product GAMS MIRO: A web interface for your GAMS models".

Dear GAMS User, We invite you to participate in our free webinar "Preview of our new product GAMS MIRO: A web interface for your GAMS models". When: Wednesday, Feb 20, 2019 4:00 PM (GMT+1:00) (http://bit.ly/GAMS-Webinar_Feb20) or: Thursday, Feb 21, 2019 8:00 AM (GMT+1:00) (http://bit.ly/GAMS-Webinar...
by bussieck
1 week ago
Forum: Syntax
Topic: GAMS CPU time
Replies: 4
Views: 93

Re: GAMS CPU time

Take an empty/idle machine and give it all the juice/cores it got (I would not do hyperthreading) and report wall time.

-Michael
by bussieck
1 week ago
Forum: Syntax
Topic: GAMS CPU time
Replies: 4
Views: 93

Re: GAMS CPU time

Luca,

CPU time make little sense in today's multi-threading world, so reporting CPU time has gone out of fashion.

-Michael
by bussieck
1 week ago
Forum: Modeling
Topic: Cplex did not give optimal solution for MISOCP problem after removing a redudant constraint
Replies: 6
Views: 137

Re: Cplex did not give optimal solution for MISOCP problem after removing a redudant constraint

We got some answer on this. So it turns out to be a Cplex bug which can be easily worked around by setting good bounds to the free variables. Here is the original reply: I found the primary source of trouble, which probably occurred on this model but not previous ones because the free variables in t...
by bussieck
2 weeks ago
Forum: Announcements
Topic: GAMS Distribution 26.1.0 Announcement
Replies: 0
Views: 80

GAMS Distribution 26.1.0 Announcement

Hi GAMS Users,

We started distributing GAMS Release 26.1.0 on February 4, 2019.

You can download the software from https://www.gams.com/download/

Here are the release notes: https://www.gams.com/latest/docs/RN_26.html

Your GAMS Team
www.gams.com