Search found 1042 matches

by bussieck
3 years ago
Forum: Announcements
Topic: GAMS MIRO 1.3
Replies: 0
Views: 3290

GAMS MIRO 1.3

Hi GAMS MIRO Users,

We started distributing MIRO 1.3 on February 5, 2021.

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

Here are the release notes: https://gams.com/miro/release.html#v13

Your GAMS MIRO Team
www.gams.com
by bussieck
3 years ago
Forum: Announcements
Topic: GAMS Distribution 34.2.0 (Minor Release)
Replies: 0
Views: 2525

GAMS Distribution 34.2.0 (Minor Release)

Hi GAMS Users,

We started distributing GAMS Minor Release 34.2.0 on February 5, 2021.

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

Here are the release notes: https://www.gams.com/latest/docs/RN_34.html#RN_3420

Your GAMS Team
www.gams.com
by bussieck
3 years ago
Forum: Modeling
Topic: Check that a parameter has an assigned value
Replies: 6
Views: 4146

Re: Check that a parameter has an assigned value

Your "$(check(i) ne 0 or mapval(check(i)) eq 8)" is equivalent to just "$check(i)". -Michael
by bussieck
3 years ago
Forum: Modeling
Topic: modeling error with MOSEK
Replies: 6
Views: 3128

Re: modeling error with MOSEK

No rudeness implied. Just repeating the rules of the forum. To the issue. As I mentioned you have to follow the Mosek requirements precisely. Mosek (or the GAMS/MOSEK link) is not the greatest help to debug. Basically, you have two choices for SOCP with Mosek: 2*r*s =g= sum(i, sqr(x(i)) or sqr(r) =g...
by bussieck
3 years ago
Forum: Modeling
Topic: Check that a parameter has an assigned value
Replies: 6
Views: 4146

Re: Check that a parameter has an assigned value

For numerical comparison eps and 0 behave identically. Eps is present in the data, 0 is not, so the following code hopefully explains this: set i / i0*i2 /; parameter p(i) / i0 eps, i1 1, i2 2 /; scalar card_p; $eolcom ! card_p = card(p); display card_p; ! gives 3 card_p = sum(i$p(i),1); display car...
by bussieck
3 years ago
Forum: Announcements
Topic: GAMS Distribution 34.1.0 (Major Release)
Replies: 0
Views: 2443

GAMS Distribution 34.1.0 (Major Release)

Hi GAMS Users,

We started distributing GAMS Release 34.1.0 on January 29, 2021.

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

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

Your GAMS Team
www.gams.com
by bussieck
3 years ago
Forum: Modeling
Topic: modeling error with MOSEK
Replies: 6
Views: 3128

Re: modeling error with MOSEK

You seek free advice, so please share the model with everyone or get professional help. -Michael
by bussieck
3 years ago
Forum: Modeling
Topic: modeling error with MOSEK
Replies: 6
Views: 3128

Re: modeling error with MOSEK

Make up some data and provide a executable model that reproduces the issue. MOSEK is very strict in the requirements of the cone. For example, making S a positive variable already breaks the requirements.

-Michael
by bussieck
3 years ago
Forum: Syntax
Topic: Help me understand this line of code
Replies: 2
Views: 1833

Re: Help me understand this line of code

You should study the following chapter: https://www.gams.com/33/docs/UG_CondExpr.html. Your two examples are described in the section "Dollar on the left" (https://www.gams.com/33/docs/UG_CondExpr.html#UG_CondExpr_DollarOnTheLeft). If the comparison operator is left out then you can add &q...
by bussieck
3 years ago
Forum: Syntax
Topic: Assigning specific 'marginal value' and run the optimization script
Replies: 1
Views: 1510

Re: Assigning specific 'marginal value' and run the optimization script

The model class MCP (or MPEC) lets you model primal and dual variables explicitly. This has it's own theory and you will need to study this in detail. You might start at https://www.gams.com/latest/docs/UG_Mod ... odels_MPEC and keep on reading.

-Michael