Search found 373 matches

by Fred
2 years ago
Forum: Solvers
Topic: MPSGE
Replies: 5
Views: 3727

Re: MPSGE

Hi Zhanna,

the log indicates that the first error is a missing include file. You can find further details about which include file cannot be found in the lst file.

I hope this helps!

Fred
by Fred
2 years ago
Forum: API
Topic: Time Limit when - Capturing multiple solutions gams 38 cplex c++
Replies: 3
Views: 5014

Re: Time Limit when - Capturing multiple solutions gams 38 cplex c++

Hi, You ran into a known issue that the cplex solution pool is not imported when hitting a time limit. This has been fixed in the meantime and will be contained in the upcoming GAMS 38.2 release (probably later this week or early next week). Regarding the exception, it may help to set the workingDir...
by Fred
2 years ago
Forum: Syntax
Topic: Error 66
Replies: 2
Views: 2491

Re: Error 66

Hi, The lst file provides more details: 39 solve resalloc using nlp maximizing totalprof; **** $66,256 **** 66 The symbol shown has not been defined or assigned **** A wild shot: You may have spurious commas in the explanatory **** text of a declaration. Check symbol reference list. **** 256 Error(s...
by Fred
2 years ago
Forum: Modeling
Topic: PMP (Ward method) applied to agricultural systems
Replies: 7
Views: 2964

Re: PMP (Ward method) applied to agricultural systems

This is not a problem. The GAMS default iteration limit iterlim is ~2.1e9 but conopt allows a max limit of 1.0e9, so it resets the iteration limit. Your model is very very very far from coming close to the iteration limit.

Fred
by Fred
2 years ago
Forum: Modeling
Topic: PMP (Ward method) applied to agricultural systems
Replies: 7
Views: 2964

Re: PMP (Ward method) applied to agricultural systems

Not sure if I would call this a problem. Solvers work with finite precision arithmetics and the solution you get is locally optimal subject to these tolerances.

Fred
by Fred
2 years ago
Forum: Modeling
Topic: PMP (Ward method) applied to agricultural systems
Replies: 7
Views: 2964

Re: PMP (Ward method) applied to agricultural systems

in the lst file, you can find which equation conopt finds problematic during presolve. **** ERRORS/WARNINGS IN EQUATION Eq_klav 1 error(s): Inconsistency in pre-triangular part of model. Looking at your code I see equation EQ_klav uses variable totlav which is defined through equation Eq_totlav. Eq_...
by Fred
2 years ago
Forum: Modeling
Topic: PMP (Ward method) applied to agricultural systems
Replies: 7
Views: 2964

Re: PMP (Ward method) applied to agricultural systems

Laura,

Please also share the data files which are required to run your code.
It may also be helpful to search for th eerror message you are getting in the conopt manual.

Best,
Fred
by Fred
2 years ago
Forum: Solvers
Topic: CPLEX, no solution returned
Replies: 1
Views: 2954

Re: CPLEX, no solution returned

Hi, Cplex finds a very good integer feasible solution with objective value 2.31965e+09 after 77 seconds. At this stage the best bound is 2.31973e+09. That means the absolute gap is 8 and the relative gap is ~ 0.0034% which is why you see a gap of 0.00% in the log. Closing the gap to zero seems to be...
by Fred
2 years ago
Forum: Solvers
Topic: CPLEX, no solution returned
Replies: 1
Views: 2954

Re: CPLEX, no solution returned

Hi, It would be helpful if you could share the log, not the lst file (see option logoption if you are not sure how to capture the log). If your model is so challenging that it needs a supercomputer, it might also be a good idea to use up-to-date software, i.e. GAMS 36 instead of GAMS 26. Not sure wh...
by Fred
2 years ago
Forum: Solvers
Topic: The first three months of the model were run, and the last nine months were skipped
Replies: 2
Views: 4223

Re: The first three months of the model were run, and the last nine months were skipped

Hi, Your solve statement indicates that you are solving an MIQCP i.e. a Mixed Integer Quadratically Constrained Program. The error messages indicate that you have general nonlinearities (i.e. your model is actually an MINLP) and tells you the equations where these general nonlinearities occur. For m...