You cannot post messages because only members can post, and you are not currently a member.
Description:
This is the GAMS World discussion group associated with www.gamsworld.org, a web site aiming to bridge the gap between academia and industry by providing highly focused forums and dissemination services in specialized areas of mathematical programming.
|
|
|
sequential set s = {1, 2, 3, ..., N} bounded by parameter N
|
| |
Hi,
I am wondering whether it is possible to define a sequential set s =
{1, 2, 3, ..., N} depending on an upper parameter N? In other words,
how do I formulate the naive
parameter N;
set s /1*N/;
so that gams understands it?
Joanna
|
|
binary variables
|
| |
set
Y (I) new slugs /S6,S7,S8/
P products /P1,P2,P3/
binary variables
yp (I,P) denoting that product p is contained in slug i whenever yi
slug S6 must contain p1,
slug S7 must contain p2,
slug S8 must contain p3.
How can I that ?
|
|
GAMSCHK help
|
| |
Hello!
I would like to use GAMSCHK options like ANALYSIS and ADVISORY within
BARON.
Is that possible? How can I do it?
Thank you
Sebnem
|
|
help me to linearize equation
|
| |
Dear GAMS users, I want to linearize the following equation in the format of* MILP*: *D=a*b*c; * where 'a' and 'b' are continuous variables with 0<a<1; 0<=b<=1. 'c' is binary variable. Thanks in advance
|
|
linearize the a*b equation
|
| |
Dear readers,
I want to linearize the following equatuion in the format of MILP:
c=a*b;
where 'a' and 'b' are continous variable and also 0<a<1; 0<=b<=1.
Thanks in advance.
|
|
Question about NLP or MINLP
|
| |
Hi all.
I have a simple question about solving MINLP.
I gave all initial values of variables in MINLP including objective
variable and binary variables.
GAMS result was same with initial values and GAMS showed like below;
------------------------------ ------------------------------ --------... more »
|
|
Creating GDX from deployed Matlab code
|
| |
Dear all,
I am using Matlab to create gdx files, and then run GAMS with those
gdx files as input. The code works fine, but when I compile and
deploy the Matlab code to work as an independent executable, the wgdx
and rgdx commands do not seem to work. Does anyone know if this
functionality is possible with deployed Matlab executables?... more »
|
|
Sets
|
| |
Hi All,
I am working on the pickup and delivery problem and I encountered an
issue. I am extracting here a few lines of code that are giving me a
hard time:
Set:
I set of pickup and delivery nodes /p1*p5, d1*d5/
P(I) set of pickup nodes /p1*p5/
Positive Variable:
Y(i)
X(i)
Equation:... more »
|
|
gams help
|
| |
set
Y slug /s6,s7,s8/
E product/s1,s2,s3,s4,s5/
parameter
WI (E) initial size of the old slug
/ S1 75
S2 25
S3 125
S4 175
S5 75/
How can I do that
eq1(E,Y)..WO(E,Y-1)=E= WI(E);
for ord (y) =1,
please help
thanks
|
|
Call GAMS with SPECIFIC solver
|
| |
I'm implementing GAMS code in MATLAB loops. Everything seems to be
work except for some occasional discrepancies in results. I'm
wondering if there is a way to mention specific solver I want GAMS to
use when I'm calling GAMS from MATLAB.
For example,
gams('filename.gams minlp=couenne') or system('gams filename.gms... more »
|
|
|