Search found 9 matches

by deepak.agrawal
6 years ago
Forum: Solvers
Topic: SBB option loginterval option doesn't work
Replies: 0
Views: 2274

SBB option loginterval option doesn't work

Hi, I am using following code to solve an MINLP. I have two questions. 1. How can I suppress solver output? 2. I am using loginterval to increase the interval in which GAMS outputs the progress. But it doesn't work. Below is the code and the command line output. MODEL DP_loc_dep /eq1,eq2_loc_dep_1,e...
by deepak.agrawal
6 years ago
Forum: Modeling
Topic: HELP with (LHS = 0, INFES = 1 ****) and Local Optimum
Replies: 2
Views: 4932

Re: HELP with (LHS = 0, INFES = 1 ****) and Local Optimum

Thank you. I was worried that my solution was infeasible.
by deepak.agrawal
6 years ago
Forum: Modeling
Topic: HELP with (LHS = 0, INFES = 1 ****) and Local Optimum
Replies: 2
Views: 4932

HELP with (LHS = 0, INFES = 1 ****) and Local Optimum

Hi, I have formulated a NLP problem where after solving I get following output. Iter Phase Ninf Infeasibility RGmax NSB Step InItr MX OK 0 0 2.0000000000E+01 (Input point) Pre-triangular equations: 15 Post-triangular equations: 36 1 0 0.0000000000E+00 (After pre-processing) 2 0 0.0000000000E+00 (Aft...
by deepak.agrawal
6 years ago
Forum: Syntax
Topic: problem with error 148
Replies: 1
Views: 2338

Re: problem with error 148

Can you also attach the gdx file? It will be easy to reproduce the error.
by deepak.agrawal
7 years ago
Forum: Modeling
Topic: Index based subset
Replies: 2
Views: 3289

Re: Index based subset

Which mods can do which jobs, is this a parameter? I am assuming it is. P(j,m) a binary matrix saying if job j can be done by mode m or not. You can import it using csv file etc. Assume a binary variable z(j,m) which is 1 if job j is done by mode m or else 0. your constraint can be sum(m, z(j,m)) <=...
by deepak.agrawal
7 years ago
Forum: Modeling
Topic: Complex expression as intermediate vairable
Replies: 1
Views: 4597

Complex expression as intermediate vairable

Hi, I have a complex nonlinear expression in my objective function, which occurs several times in the objective function. To make the GAMS formulation more clearer I want to replace it with an intermediate variable say z(i,j) = f(z) . In AMPL, I can define this as a variable relation instead of a co...
by deepak.agrawal
7 years ago
Forum: Syntax
Topic: GAMS IDE for linux
Replies: 3
Views: 4413

Re: GAMS IDE for linux

Hi cladelpino,

Thank you very much for the suggestion. This is awesome.
by deepak.agrawal
7 years ago
Forum: Syntax
Topic: Dynamic Set (in terms of scalar)
Replies: 0
Views: 4740

Dynamic Set (in terms of scalar)

Hi,

I am trying to write a set i=1,...I , which depends on a scalar (I, provided in the data file).
Is it possible to do that. If yes, how? If no, is there any work around?
by deepak.agrawal
7 years ago
Forum: Syntax
Topic: GAMS IDE for linux
Replies: 3
Views: 4413

GAMS IDE for linux

Is there an IDE for linux?