Search found 242 matches

by Fred
3 days ago
Forum: Bugs
Topic: MSNLP solver "stops" before running the algorithm
Replies: 3
Views: 97

Re: MSNLP solver "stops" before running the algorithm

Can you share the source file moi.gms?

Fred
by Fred
4 days ago
Forum: Modeling
Topic: Infeasibility & entries skipped
Replies: 3
Views: 99

Re: Infeasibility & entries skipped

There is no problem. It is usual that the initial point is not feasible. Look for example at the trnsport model. The equation listing shows ---- demand =G= satisfy demand at market j demand(new-york).. x(seattle,new-york) + x(san-diego,new-york) =G= 325 ; (LHS = 0, INFES = 325 ****) demand(chicago)....
by Fred
4 days ago
Forum: Syntax
Topic: Sum over all observations except the observation under investigation
Replies: 1
Views: 146

Re: Sum over all observations except the observation under investigation

Hi Teo,

You could use a dollar condition as follows

Code: Select all

out(i,outp).. sum(ii$(not sameas(i,ii)),lm(i,ii)*y(outp,ii))=E=y(outp,i)*(1+beta1(i));
I hope this helps!

Fred
by Fred
4 days ago
Forum: Modeling
Topic: Infeasibility & entries skipped
Replies: 3
Views: 99

Re: Infeasibility & entries skipped

Hi, You are referring to the equation listing which provides information about the generated model before it is solved. Infes=... indicates that the equation is infeasible for the given start point (i.e. based on the current levels of variables when the model is generated). "remaining ... entries sk...
by Fred
2 weeks ago
Forum: Solvers
Topic: Codes runs fine but stops halfway
Replies: 6
Views: 411

Re: Codes runs fine but stops halfway

The screenshot indicates that the job was not yet completed. Otherwise you would see

Code: Select all

*** Status: Normal completion
in the log (or some error message if there are any issues).
Can you please share the full log file?

Best,
Fred
by Fred
2 weeks ago
Forum: Solvers
Topic: Codes runs fine but stops halfway
Replies: 6
Views: 411

Re: Codes runs fine but stops halfway

Hi Jun Keat,

There are different gdx file created. soleps.gdx seems to have the information you are looking for.

Fred
by Fred
2 weeks ago
Forum: Solvers
Topic: How to get LP file
Replies: 1
Views: 156

Re: How to get LP file

You could use convert with option CplexLP.

I hope this helps!

Fred
by Fred
2 weeks ago
Forum: Modeling
Topic: solver solution differs from the best solution - PART 2
Replies: 2
Views: 202

Re: solver solution differs from the best solution - PART 2

Hi, If all solvers return an optimal solution with objective value 44.2, my guess is that your own "solution" with objective value 43.8 is wrong. One way to go about analyzing this could be to provide your solution to the problem by manually setting the variable level values (x.l(i,j) = ...) and the...
by Fred
2 weeks ago
Forum: Modeling
Topic: Reasons for equation not being executed
Replies: 4
Views: 137

Re: Reasons for equation not being executed

Hi,

The error message says it all. You should not type the "?". This was meant as a placeholder for whatever number you would like to enter there for your model.
The documentation might also be helpful: https://www.gams.com/32/docs/UG_GamsCal ... MSAOlimrow

I hope this helps!

Fred
by Fred
2 weeks ago
Forum: Solvers
Topic: Codes runs fine but stops halfway
Replies: 6
Views: 411

Re: Codes runs fine but stops halfway

Hi,

What do you mean with
it stops randomly halfway through execution
Can you share the log/lst?
For me it seems to work fine and terminates nicely

Fred