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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CONOPT 115<br />

3 <strong>GAMS</strong>/CONOPT Termination Messages<br />

<strong>GAMS</strong>/CONOPT may terminate in a number of ways. This section will show most of the termination messages<br />

and explain their meaning. It will also show the Model Status returned to <strong>GAMS</strong> in .Modelstat, where<br />

represents the name of the <strong>GAMS</strong> model. <strong>The</strong> <strong>Solver</strong> Status returned in .Solvestat will be<br />

given if it is different from 1 (Normal Completion). We will in all cases first show the message from CONOPT<br />

followed by a short explanation. <strong>The</strong> first 4 messages are used for optimal solutions and CONOPT will return<br />

Modelstat = 2 (Locally Optimal), except as noted below:<br />

** Optimal solution. <strong>The</strong>re are no superbasic variables.<br />

<strong>The</strong> solution is a locally optimal corner solution. <strong>The</strong> solution is determined by constraints only, and it is usually<br />

very accurate. In some cases CONOPT can determine that the solution is globally optimal and it will return<br />

Modelstat = 1 (Optimal).<br />

** Optimal solution. Reduced gradient less than tolerance.<br />

<strong>The</strong> solution is a locally optimal interior solution. <strong>The</strong> largest component of the reduced gradient is less than<br />

the tolerance rtredg with default value around 1.e-7. <strong>The</strong> value of the objective function is very accurate while<br />

the values of the variables are less accurate due to a flat objective function in the interior of the feasible area.<br />

** Optimal solution. <strong>The</strong> error on the optimal objective function<br />

value estimated from the reduced gradient and the estimated<br />

Hessian is less than the minimal tolerance on the objective.<br />

<strong>The</strong> solution is a locally optimal interior solution. <strong>The</strong> largest component of the reduced gradient is larger than<br />

the tolerance rtredg. However, when the reduced gradient is scaled with information from the estimated Hessian<br />

of the reduced objective function the solution seems optimal. <strong>The</strong> objective must be large or the reduced objective<br />

must have large second derivatives so it is advisable to scale the model. See the sections on ”Scaling” and ”Using<br />

the Scale Option in <strong>GAMS</strong>” for details on how to scale a model.<br />

** Optimal solution. Convergence too slow. <strong>The</strong> change in<br />

objective has been less than xx.xx for xx consecutive<br />

iterations.<br />

CONOPT stops with a solution that seems optimal. <strong>The</strong> solution process is stopped because of slow progress.<br />

<strong>The</strong> largest component of the reduced gradient is greater than the optimality tolerance rtredg, but less than<br />

rtredg multiplied by the largest Jacobian element divided by 100. <strong>The</strong> model must have large derivatives so it<br />

is advisable to scale it.<br />

<strong>The</strong> four messages above all exist in versions where ”Optimal” is replaced by ”Infeasible” and Modelstat will<br />

be 5 (Locally Infeasible) or 4 (Infeasible). <strong>The</strong> infeasible messages indicate that a Sum of Infeasibility objective<br />

function is locally minimal, but positive. If the model is convex it does not have a feasible solution; if the model<br />

is non-convex it may have a feasible solution in a different region. See the section on ”Initial Values” for hints on<br />

what to do.<br />

** Feasible solution. Convergence too slow. <strong>The</strong> change in<br />

objective has been less than xx.xx for xx consecutive<br />

iterations.<br />

** Feasible solution. <strong>The</strong> tolerances are minimal and<br />

there is no change in objective although the reduced<br />

gradient is greater than the tolerance.

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

Saved successfully!

Ooh no, something went wrong!