16.01.2015 Views

GAMS — The Solver Manuals - Available Software

GAMS — The Solver Manuals - Available Software

GAMS — The Solver Manuals - Available Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CONOPT 117<br />

and<br />

** An initial derivative is too large (larger than Rtmaxj= xx.xx)<br />

Scale the variables and/or equations or add bounds.<br />

appearing in<br />

: Initial Jacobian element too large = xx.xx<br />

** A derivative is too large (larger than Rtmaxj= xx.xx).<br />

Scale the variables and/or equations or add bounds.<br />

appearing in<br />

: Jacobian element too large = xx.xx<br />

<strong>The</strong>se two messages appear if a derivative or Jacobian element is very large, either in the initial point or in a later<br />

intermediate point. <strong>The</strong> relevant variable and equation pair(s) will show you where to look. A large derivative<br />

means that the function changes very rapidly with changes in the variable and it will most likely create numerical<br />

problems for many parts of the optimization algorithm. Instead of attempting to solve a model that most likely<br />

will fail, CONOPT will stop and you are advised to adjust the model if at all possible.<br />

If the offending derivative is associated with a LOG(X) or 1/X term you may try to increase the lower bound on<br />

X. If the offending derivative is associated with an EXP(X) term you must decrease the upper bound on X. You<br />

may also try to scale the model, either manually or using the variable.SCALE and/or equation.SCALE option<br />

in <strong>GAMS</strong> as described in section 6.5. <strong>The</strong>re is also in this case a lazy solution: increase the limit on Jacobian<br />

elements, rtmaxj; however, you will pay through reduced reliability or longer solution times.<br />

In addition to the messages shown above you may see messages like<br />

or<br />

** An equation in the pre-triangular part of the model cannot be<br />

solved because the critical variable is at a bound.<br />

** An equation in the pre-triangular part of the model cannot be<br />

solved because of too small pivot.<br />

** An equation is inconsistent with other equations in the<br />

pre-triangular part of the model.<br />

<strong>The</strong>se messages containing the word ”Pre-triangular” are all related to infeasibilities identified by CONOPT’s<br />

pre-processing stage and they are explained in detail in section A4 in Appendix A.<br />

Usually, CONOPT will be able to estimate the amount of memory needed for the model based on statistics<br />

provided by <strong>GAMS</strong>. However, in some cases with unusual models, e.g. very dense models or very large<br />

models, the estimate will be too small and you must request more memory yourself using a statement like<br />

”.WORKFACTOR = x.x;” ”.WORKSPACE = xx;” in <strong>GAMS</strong> or by adding ”workfactor=xx” to the<br />

command line call of <strong>GAMS</strong>. <strong>The</strong> message you will see is similar to the following:<br />

** FATAL ERROR ** Insufficient memory to continue the<br />

optimization.<br />

You must request more memory.<br />

Current CONOPT space = 0.29 Mbytes<br />

Estimated CONOPT space = 0.64 Mbytes<br />

Minimum CONOPT space = 0.33 Mbytes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!